Igneous, sedimentary, and metamorphic rocks are found at the same cliff side.

A picture shows a sedentary rock layer with a little of igneous rock flowing down into a metamorphic layer.
Which statement is correct about the rocks at this location?
A. All three types of rock will become metamorphic if they stay at the surface of Earth.
B. If this location is buried deep underground, only the metamorphic rock will melt because it has already been heated before.
C: The metamorphic rock and sedimentary rock were already at this location and magma flowed into the other rocks.
D: The igneous rock will become metamorphic rock after the rock in the cliff side turns into sediment.

The correct statement about the rocks at this location is:

C: The metamorphic rock and sedimentary rock were already at this location and magma flowed into the other rocks.