When lava flows outside of a volcano, what happens?