Reasons for the existence of a magnetic force can be found in the rest frame of a moving electron next to a current carrying wire as explained in Chapter 5.9 "Interaction between a moving charge and other moving charges" of Purcell: Electricity And Magnetism.
However, I am looking for an explanation in the lab frame, since an explanation should not depend on observations in a specific reference frame. An explanation should be possible in any reference frame, hence also in the lab frame, where two current carrying wires attract each other. I would like to understand how moving charges can create a magnetic force there.
since an explanation should not depend on observations in a specific reference frame. All physics explanations ultimately come to generalizations of empiric evidence, and that is always obtained in some specific reference frame. Maybe you're not looking for an explanation, but for a mathematical derivation, which does not use any concrete reference frame? For that you have to adopt some assumptions, such as special relativity with the Lorentz transformation. Then magnetic force is just that part of relativistic electromagnetic force which depends on velocity.
– Ján Lalinský Jan 03 '24 at 23:04