I think you may have an endstop issue. Send M119 to check the condition of your endstop switches…they all need to be ‘off’ for the carriage to move freely.
I tried grbl thinking it was my marlin build but i send commands through repitier host and it doesnt move at all. I dont think the wiring is the issue - as i wouldnt have all x,y and z wrong. could it be the drivers? or the nema17 motors?
This is very odd behavior. The other motor was probably not working. Check the grub screws and triple check the wiring, post pictures of the board and wiring so we can check it, and I would put some known good software on it. Right now, I am shooting in the dark.