Here's a problem to solve: What process causes igneous rock to transform into metamorphic rock?

Among the 4 following options, which is the correct answer?

- A: deposition in water
 
- B: slow cooling and crystallization
 
- C: weathering and erosion
 
- D: exposure to heat and high pressure
 