The best explanation for why the room starts to feel cooler when a teacher opens a window on a cold day is:
Cold air is moving into the room from outside.
When the window is opened, the cold air from outside enters the warmer room, lowering the overall temperature of the room.