I’m assuming the tranny kid is a boy, dressing like a little girl. That’s why his former friend was a boy, and why he hates to see him pretending to be a girl.
Right you are. On a visceral level, the little friend senses the sickness of it, and fears contagion. He’s afraid the “trans” kid, or some twisted adult might try to turn him into a girl, too.