A teapot's whistle is caused by excited water atoms. Inside the pot, heated atoms move faster and faster. All this activity requires more space, so pressure builds inside the closed pot. As the heat continues to increase, atoms begin moving so quickly that they break away from the water's surface. In the form of steam, these atoms force their way through the spout's narrow opening. Their exit causes the whistling sound.