Answer:
The lava creates magma, then that magma cools. Overtime this can result in certain minerals forming.
Explanation: