The metal cools down upon entering the cool water, and the cool water warms up as a result. The heat is transferred from the metal to the water.