Through the ages the earth has cooled. But there is still fiery hot rock deep inside.
But sometimes the inside is still fiery hot, and the lava continues to flow beneath the hardened crust, thus forming a tunnel.