The main agents that cause metamorphic rocks ro form are temperature changes ( usually when Rocks are heated to the melting point which forms magma), pressure and Chemical changes.
An increase in pressure and heat is caused by layers of sediments that are being buried deep under the surface of the earth.
Hope this helps ;)