Molten rock in the earth's crust erupted as lava