This may be another example of the Ruida PWM Rising Edge Valid configuration gotcha. It’s entirely possible for this problem to arrive from the factory / seller and lie in wait until the machine sees exactly the right sequence of commands.
A previous discussion lays out what to do:
TL;DR: For most machines, both the X and Y axis PWM Rising Edge Valid switches should be False, so if they’re either True or different, that’s a clue.