It’s all attraction between opposite charge and repulsion for the same charge, even magnetism. Magnetism is just charge in another gauge.
What I mean by this is from our perspective we view a moving charged particle as emitting a magnetic field, but if you were to move along with the particle at the same speed it would be observed as being at rest and emitting an electric field.