they form from both...ithink
clastic texture
Metamorphic rocks are buried deep inside Earth. There is enough heat and pressure to change the rocks, but not enough to melt it into magma. Metamorphic rocks can form adjacent to layers of magma, because of the generated heat, however
Magma or Lava
Extrusive igneous rocks.
Extrusive rocks are igneous rocks that form as a result of crystallization of magma at Earth surface
Igneous rocks.
Intrusive rocks are igneous rocks that form when magma solidifies below the Earth's surface. They usually form by rather slow cooling, which allows time for large crystals to grow, and these large crystals tend to give them a coarse grain. Extrusive rocks are igneous rocks that form when magma solidifies above the Earth's surface. They usually form by comparatively rapid cooling, which does not allow time for large crystals to form, so they are often fine-grained or amorphous.
large rocks
another name for the mineral crystals in cooling magma or lava
Rocks formed from magma are igneous rocks. Extrusive igneous rocks form from lava at or near the surface. Intrusive rocks form from magma below the surface.
Fine-grained igneous rocks form when the magma cools quickly.
They form underground from the cooling and solidification of magma.
Igneous rocks form because, magma cools under the ground, or magma erupts, then cools on the ground forming these rocks.
igneous rocks are formed through the cooling and solidification of magma.
igneous rocks
Igneous
Rocks that form when hot magma solidifies are igneous rocks.