I wonder how the wires are woven in the cable.
The wobbling of the black cable could indicate some kind of pairing of wires, but I'm not sure.
Perhaps red and black belong to each other.
Can you have a closer look at that, it matters a lot... more than a lot.
The 10k pullup or pulldown resistor is very high in this situation. Try 470 ohm as I wrote.