Had a similar issue with a previous standing desk: turning the motor on to adjust the height of the desk would turn on the RGBs on my keyboard (which uses a skeleton-like structure, so you can see the wires), though not always.
After some trial and error I determined the motor likely produces enough interference to trigger the RGBs to turn on. I ended up just cutting the RGB cables because I didn't use them anyway, as I didn't have anything to shield the keyboard (or anything else for that matter) from the motor.
Likely it was a DC motor, driven by an H bridge. Some of the induction kickback diodes are gone, if so the driving transistors may give the ghost as well.
After some trial and error I determined the motor likely produces enough interference to trigger the RGBs to turn on. I ended up just cutting the RGB cables because I didn't use them anyway, as I didn't have anything to shield the keyboard (or anything else for that matter) from the motor.