If you place the wire near a permanent magnet, this temporary magnetic field interacts with the permanent magnet field. You will know that two magnets placed near one another either attract or repel. In the same way, the temporary magnetism around the wire attracts or repels the permanent magnetism from the magnet, and that is what causes the wire to jump.
The unshielded conductors radiate an electric noise field that couples capacitively with adjacent wiring. Stray capacitance at A & C cause ground currents to flow creating a magnetic noise field that couples inductively with adjacent wiring.