What causes a magnetic field to form around certain metals, such as iron?

AThe majority of the domains are aligned.
BThe majority of the protons are aligned.
CThe majority of non-metal atoms are aligned.
DThe majority of the atoms have been acted upon by gravity.