Hear me out.
He initially did not know for certain whether the four had actually killed the farmer or not. He worked this out by deduction and happening across a diary written in Latin, when he was badly duslexic as well. The joking and teasing with Henry may have been a nervous response, trying to appease Henry while discerning whether it was actually so. As Bunny had been friends with them a long time, he may have been going through denial and shock and reeling from this revelation. The other issues he brought up in what Richard saw as horrible digs, purposefully at what each of them was insecure about, were also ways of Bunny trying to determine and rationalise the true nature of the others. He was trying to see from their reactions if they were actually guilty.
Bunny may initially have not or even ever fully believed whether Francis was taking advantage of straight men while they were drunk (even I, the reader, was not sure). He may not have known for sure either if Charles and Camilla were actually sleeping together. These issues, he had buried deep, and he was bringing them up from sheer disbelief and horror.
Bunny was homophobic and sexist because his father and older brothers had instilled traditional views of what it meant to be a man and a winner. He was snobbish because he had been raised with a fixed idea of where his place was in the social hierarchy.
Bunny was increasingly prone to outbursts and erratic behaviour as his whole world was turned upside down, and as he grappled with a horrible situation.
Moreover, his brash persona was a mask for his insecurities - having to repeat two grades; being upper class but broke; being dependent on others and being deceived, manipulated by and excluded by his close friends.
I'm sorry to those who hate him, but I felt this needed to be said.