I understand that a moving particle creates an electric field due to the frame of reference.
I have watched several animations on YouTube about the negatively charged object being repelled by the electric current if the observer is stationary and the same object being repelled by the magnetic force, if the observer is moving at the same speed as the object and electrons.
How does that principalprinciple connect to real life? If you have a wire with a current it has a magnetic field outside.
What creates the magnetic field if the observer of the wire is standing still?
How does that not mean if you are standing still, a wire should not have a magnetic field, bcbecause you are a stationary observer?