During the formation of metamorphic rocks, what is one event that leads to increased heat?

A. Sun warms rocks.
B. Magma pockets rise.
C. Friction occurs between sliding rocks.
D. Lava at Earth’s surface flows over rocks.