Answer:
Magma that cools quickly forms one kind of igneous rock, and magma that cools slowly forms another kind. When magma rises from deep within the earth and explodes out of a volcano, it is called lava, and it cools quickly on the surface. Rock formed in this way is called extrusive igneous rock.