The correct option is D Magma cools and solidifies
<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}-->
Earth's crust has cracks in them. The magma from the mantle comes out carrying the minerals and settles in these cracks. Eventually, it cools down and solidifies to form igneous or metamorphic rocks, and we find minerals in these cracks.