A Massachusetts teenager who allegedly murdered a math teacher at his high school last month was upset when she mentioned the state of Tennessee, where he had recently moved from, according to a police indictment unsealed Friday.

Philip D. Chism moved away from Tennessee following his parents’ divorce, which was called “stressful” in the affidavit, the Boston Globereports. Chism, 14, who is accused of raping and murdering Colleen Ritzer, also allegedly left behind a note that said “I hate you all,” according to police.

Chism has been indicted for first-degree murder in the attack, after which her body was dumped in the woods near the school in Danvers, Mass. He is also charged as a youthful offender for aggravated rape and armed robbery after allegedly penetrating Ritzer and stealing her underwear, cellphone, and credit cards. He had pleaded not guilty and is being held at Department of Youth Services.