Answer:
The spinning of the electrons around the nucleus of an atom creates a tiny magnetic field. The electrons in most objects spin in random directions, and their magnetic forces cancel each other out.