Any time the axis moves in the opposite direction than what you direct it to, it’s 100% of the time a bad wire/connection. Sometimes, something as simple as disconnecting and reconnecting the wires connection solves it. Follow below for more help and examples