Which statement best compares extrusive and intrusive rocks?

A.
Both extrusive and intrusive rocks form above the surface, but extrusive rocks result from slowly cooling magma, while intrusive ones form from rapidly cooling magma.

B.
Intrusive rocks form below the surface from slowly cooling magma, while extrusive ones form above the surface from rapidly cooling magma.

C.
Extrusive rocks form below the surface from rapidly cooling magma, while intrusive ones form above the surface from slowly cooling magma.

D.
Intrusive rocks form above the surface from rapidly cooling magma, while extrusive ones form below the surface from slowly cooling magma.