What causes a magnetic force?
I had the same question. The previous answer describes what generates magnetic fields but does not describe why those fields generate a force. What causes the force between 2 magnets or even 1 magnet and iron?
What Creates A Magnetic Force
Magnetic forces can be caused by an electric current. Or they can be caused by magnetic domains aligned correctly. These domains are magnetic moments created by moving atoms in the material who have an electric dipole (usually).