The correct response is:
Magnetic direction of rock changes as Earth’s magnetic poles drift and reverse.
This phenomenon occurs due to the process of seafloor spreading at mid-ocean ridges, where new magma rises to the surface, solidifies, and captures the magnetic orientation present at that time. As Earth's magnetic field has reversed over geological time, this creates distinctive stripes of alternating magnetism on the ocean floor.