How does the ocean floor keep track of magnetic fields?

A. There are magnets in the ocean floor

B. All rocks act like magnets

C. Basalt is iron-rich and responds to magnetic fields

D. Being underwater makes the rocks respond to magnetic fields.