Answer:
It would be Magma gets forced to Earth's surface and cools to rock.
Step-by-step explanation:
Magma doesn't get "trapped" inside Earth, it latches itself to the Earth's surface and when it reaches to that part of the Earth, it starts cooling down to be describes as an extrusive rock(s).