A student makes a cross-section clay model to represent the internal structure of a volcano that leads to the formation of two rocks (X and Y). The student records the processes that affect the type of rock that is formed in a table.
Which process(es) causes (s) the rock formed at location X to be different from the rock formed at location Y?