When you heat up water, the water molecules start moving around faster and faster. They bounce off each other and move farther apart. Because there's more space between the molecules, a volume of hot water has fewer molecules in it and weighs a little bit