What causes the earth’s magnetic field?

A.
currents in the earth’s liquid-metal outer core

B.
the mineral composition of the earth’s crust

C.
molten material in the mantle

D.
magnetic particles located at the earth’s poles