Does your wiring look like this?
I might set up the xcarve by going through the computer set up part again and then I’d check the GRBL settings $$ entered into the console window.
X-Carve Instructions: Computer Setup (inventables.com)
This is the GRBL setting chart where you can change the direction of the axis: $3 is the setting that you want to check.