Cooling speed changes the crystals
Magma deep underground may cool slowly, giving crystals time to grow larger. Lava cools faster at the surface, so its crystals are often tiny. Basalt is a common rock made from cooled lava. 1 2
A rock begins as melt
When a volcano erupts, lava flows out and cools. Basalt is a common rock that forms this way. The size and mix of crystals give geologists clues about where the rock cooled and how quickly it became solid. 3
A volcano can make new rock
When lava flows out of a volcano and cools, it becomes igneous rock. Some lava cools so quickly that crystals are too small to see. If magma cools slowly underground, larger crystals may form. Rock texture helps geologists compare these different cooling histories. 1 2