When there are two currents flowing in opposite direction the magnetic field are moving in the same directions. When the currents flow in the same direction the magnetic field will be opposite, causing the wires to attract.
4.5m questions
5.7m answers