Sentence:  He got bad, he got <WSD>ratty</WSD>, he would take it out on people around him. He was mean when it turned against him. 
Meaning of the word marked with <WSD> tags:  Irritable, annoyed, bad-tempered.