. Let us say that you put a cup of cold water in one room and a cup of hot water in
another room. Both rooms are at room-temperature. Why does the cold water get
warmer and the hot water get cooler?
In both cases, energy will move from an area of higher temperature to an area of lower temperature. So, the energy from room-temperature air will move into the cold water, which warms the water.