how does sedimentary rock turn into magma
sedimentary rocks change with heat and pressure and become metamorphic rock then rocks melt into magma.