They may sense the magnetic fields that surround wires conducting electric current, or they prefer the warmth produced by resistance to the currents in the wires.
In relation to electrical current, a narrow wire will have more resistance than a wide wire.