Why do two parallel wires carrying currents in opposite directions repel each other?
Each of the wires is under the influence of the circular magnetic field produced by the other wire. If you apply Fleming's left hand rule, you will realise that the mechanical force experienced by each wire under the influence of the magnetic field of the other is in opposite direction. So, as the mechanical force on each wire pulls it apart from the other wire, there is repulsion between the two wires. Was this helpful?
Each wire produces a circular magnetic field. In essence, each wire is carrying current through the other's magnetic field and so the motor effect occurs.The fields are travelling in the same direction between the two wires so like two N poles of a magnet they repel each other.
since both the current carrying wires produce magnetic fields in the same direction which can be found out by using Flemming's right hand thumb rule the two wires repel.