Answer/Explanation:
Please clarify, I don't exactly know which rocks you're talking about, but I can give you a generalization.
Igneous rocks structure when magma (liquid stone) cools and solidifies, either at volcanoes on the outer layer of the Earth or while the liquefied stone is as yet inside the hull. ... At the point when magma emerges from a well of lava and sets into extrusive molten stone, likewise called volcanic, the stone cools rapidly.
Clastic sedimentary rocks are comprised of pieces (clasts) of previous rocks. Bits of rock are released by enduring, then, at that point, moved to some bowl or melancholy where residue is caught. On the off chance that the residue is covered profoundly, it becomes compacted and established, shaping sedimentary stone.
Metamorphic rocks structure when rocks are exposed to high warmth, high tension, hot mineral-rich liquids or, all the more ordinarily, a mix of these elements. Conditions like these are discovered profound inside the Earth or where structural plates meet.
Hope this helped.