How does volcano transfer energy from earth's interior to the surface?