Sounds like the “them” was yelling, cursing and bullying the “him” as I read it. So is the “they” in trouble under the school’s anti-bully regime?
I don’t know; I can’t keep track of all the hundreds of genders and scores of pronouns, anymore. Way too much delusional information for me to process.