What happens when magma cools during the rock cycle? Igneous rock is formed. Metamorphic rock is melted. Sediments form sedimentary rock. Metamorphic rock forms sediments.