Here's why:
* Igneous rocks are formed from the cooling and solidification of molten rock (magma or lava).
* Magma is molten rock found beneath the Earth's surface.
* Lava is molten rock that has erupted onto the Earth's surface.
So, when lava cools and solidifies, it forms igneous rocks.