What’s interesting is that the laser head is moving away from the homing switches. This could happen if you changed the homing direction or if you had inverted the stepper direction but those wouldn’t survive a firmware update.
Can you confirm that when you turn on the laser that it immediately moves away from the homing location? Or does it first hit the limit switches and then move away to the final position?
Have you recently rewired or reconnected the stepper motors? If so, make sure the cables weren’t misinserted in some way. Check also on the board side.
If the laser head is first hitting the limit switches and then moving away after they’re then specifically check for the wiring on the limit switches themselves. Also on the board side.