Geothermal energy originates in the inner mantle of the earth as hot molten magma (liquid rock) circulates upward while surface groundwater seeps downward. The magma heats the water and forces it back up through cracks and faults.