The best explanation for the P-wave shadow zone is:
D. As P-waves move from the mantle into the liquid outer core, they refract due to the change in density.
This statement accurately describes the behavior of P-waves when they encounter different materials within the Earth. P-waves (primary waves) can travel through both solid and liquid, but their speed changes when they move from a solid medium (the mantle) to a liquid medium (the outer core), causing them to bend or refract. This bending results in a shadow zone where P-waves are not detected.