When sedimentary rocks are subjected to heat and pressure without being melted, they become metamorphic rocks. Also, higher pressures and higher temperatures cause the formation of new minerals. There is heat from pressure inside the earth. There is also heat coming from radioactive decay.