From description it seems certain axis stops when some other axis endstop is triggered, then first axis endstop is never reached to stop the other motor from moving.
I think endstop configuration may be wrong, so perhaps double check connections of endstops with connections of motors.
Perhaps endstop X is mounted onto Y axis and vice-versa - or something like that.
I think endstop configuration may be wrong, so perhaps double check connections of endstops with connections of motors.
Perhaps endstop X is mounted onto Y axis and vice-versa - or something like that.