What others are talking about is more tendency for strings to tangle, but I think you're talking about something different.
I think what happens is that wire is already twisted internally so it wants to untwist, but since there's another wire next to it that's also untwisting they twist around each other instead.
It might help if you make a photos of what you're describing.
_mick_s t1_iqqh4ux wrote
Reply to comment by sfsolarboy in Why do strings and headphone cables spontaneously wrap around each other when placed in proximity? by sfsolarboy
What others are talking about is more tendency for strings to tangle, but I think you're talking about something different.
I think what happens is that wire is already twisted internally so it wants to untwist, but since there's another wire next to it that's also untwisting they twist around each other instead.
It might help if you make a photos of what you're describing.