How does the rock cycle work? Rocks turn from one type into another in an endless cycle. ... Inside Earth, heat, pressure, and melting change sedimentary and igneous rock into metamorphic rock. Intense heating results in hot liquid rock (magma) bursting through Earth's surface and turning into solid igneous rock.