inside a volcano how do the slanted layers of hardened lava get there