What Was Going On Here?

I can't find any backstory so maybe it's just as simple as a teacher being mean. But teachers aren't generally mean, and they certainly aren't mean in front of a room of parents.

The kid before the last one said, "Thank you for coming." Was that the end of the play and the last kid didn't have a line at all and just wanted to speak into the mic? Still a power move by the teacher.