Why did the teacher criticise Myra in front of the whole class?
Because Myra was cheating on exams, and she spoke back rudely.