Metamorphic rocks are usually formed by a combination of heat and pressure, as they form deep under the Earth's surface, so it is likely your answer is Heat.
Igneous rocks are formed by molten materials, and Sedimentary rocks are formed by formed by layers of sediment and debris.
Hope this helped!