If magnetism is the relativistic effect on the electric field, how does someone explain magnetic fields generated by a particle’s spin? Also, how does someone explain light as both fields propagating perpendicularly if they are ‘the same thing’?

Source: (164) Alan Cooper’s answer to If magnetism is the relativistic effect on the electric field, how does someone explain magnetic fields generated by a particle’s spin? Also, how does someone explain light as both fields propagating perpendicularly if they are ‘the same thing’? – Quora

The only situation in which magnetism could be considered to be just the relativistic effect on the electric field is one in which there is an inertial frame in which all charges are stationary. In any situation with relatively moving charges there is a magnetic field in every frame, and it is only the way in which the splitting of the combined electromagnetic field varies between observers that is a relativistic effect. In particular, a current loop always produces a magnetic field in every reference frame and the situation for electron spin is analogous (though not quite the same because it’s a pure quantum effect and not really due to actually moving charges).

In the absence of any static fields, the electric and magnetic fields are perpendicular to one another but for light waves they both propagate in the same direction.