The Earth is warmer below the so-called freezeline in the winter than it is on the surface. That means there's heat in the water down there, too.
"A Different Way to Heat a House,"
Iowa Farm Science: Vol. 4
, Article 5.
Available at: https://lib.dr.iastate.edu/farmscience/vol4/iss3/5