I read above you have removable connectors. I had a similar problem and found a connector loose. Once it’s loose, the stepper will stop working even if I swap with another stepper, it will knock that one out and there will be two dead steppers. I found a power down and restart fixed the steppers. I see you checked your cables, but maybe the problem is in the connector?
Hope this helps, good luck,