The temperature inside the earth is higher than the atmospheric temperature
Our body is cold in winter the water seems to be warm
The pumping process causes friction which warms up the water
Inside water comes out absorbs heat from the environment