I suspect there’s nuance or personal nicknames being lost from context here. I strongly doubt a teacher (unless they want to be fired) calls students out like this without prior development of the material.
But I’m sure my take is far too rational for the knee jerk wing of my peers.