© Charles Chandler
Moving charged particles generate magnetic fields (i.e., Ampère's Law), with a polarity that obeys one of the right-hand rules. Like-signed charges traveling in opposite directions generate magnetic fields of opposite polarity, which repel each other, with a force proportional to the velocity. The like charges also repel each other for electric reasons.