The spin-orbit interaction in a hydrogen atom is often explained as arising from an interaction energy $U=-\mathbf{m}\cdot\mathbf{B}$ where $\mathbf{m}$ is a magnetic moment due to the electron’s spin and $\mathbf{B}$ is the magnetic field produced by the proton in the electron’s frame of reference.
Why does one have to switch to the electron’s frame of reference? Can’t one instead use the magnetic field produced by the electron in the usual reference frame where the proton is at rest?
EDIT: I do notice that the magnetic field originating from the electron’s motion vanishes at the instantaneous location of the electron itself ... hence the explanation might be that the electron’s spin only interacts with the magnetic field present at the instantaneous location of the electron.
Nonetheless, the energy of a system is not invariant under Lorentz boosts. How can we add an energy term calculated in the electron’s rest frame (the spin-orbit interaction term) to the total energy in the proton’s rest frame (cfr. the hydrogen atom’s Hamiltonian)?