It’s a basic property of the universe. Every charge creates an electrical field. Every moving charge creates a magnetic field.
If you involve einsteins relativity you can find out that both electrical and magnetic field are just different viewpoints on the same thing (If a charge moves or not depends on the observer) wich is why we called it the “electromagnetic force” wich is one of the 4 fundamental forces (and later got unified with the weak nuclear force too)
Latest Answers