@mediterranean_diode
It's most likely wired incorrectly.
Have a good read here before going any further
https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors

Pay particular attention to the section on working out the phase pairs.

If you still have problems, report back with details and post your config.g