This is the Tamagotchi playing a game with the teacher. The teacher, Miss Frill, will do some dance moves and then your Tama has to try to mimic them. Sometimes your Tamagotchi will get these moves wrong, and become angry, and fume at the teacher. It's not wierd, it's just a normal Pre-School animation.