Why repel?
Change in dimension.
electric field is one dimension.
magnetic field is a different dimension.
when in phase form three dimensions;
when in phase they share an axis.
e- / e- is the same change in dimension. they repel.
because increasing proximity requires potential energy to become kinetic.
p+ / e- opposite change in dimension. they attract.
because increasing proximity is an increase in equilibrium.