The best response to the evidence of volcanic rock layers showing that some have magnetic fields aligned opposite to Earth’s is:
B) Earth's magnetic field has reversed in the past.
This is supported by the phenomenon known as "magnetic reversal," where the Earth's magnetic field has changed direction over geological time, leading to layers of rock with different magnetic orientations being formed.