Original: The heat needed for geyser formation comes from magma that needs to be near the surface of the earth.
Simplified: This heat comes from magma.