Sedimentary rock changes when it is exposed to extreme heat and pressure, but it can be caused by tectonic plate movement ( for heat ) and when the collide, you get the pressure.
Hope this helps, if not, comment below please!!!!
8.1m questions
10.7m answers