As water molecules move through the hydrological cycle, water both gains and loses energy. In which case would the water be losing energy?