The ________________and ______________ of magma cause igneous rocks to form.
A: melting and cooling
B: cementation and compaction
C: weathering and erosion
D: heat and pressure