BRAINLIEST TO CORRECT ANSWER!!!

Diorite is made up of crystals of different minerals that form as magma cools.

In which environment did this rock sample most likely form?

A. On the surface, near a convergent boundary

B. Deep underground, between the mantle and the core

C. On the seafloor, near a divergent boundary

D. Deep underground, beneath an extinct volcano​