there's a couple of things it could be

  • could be that your steps per mm are not set correctly in marlin
  • your endstop configuration might be stopping them / or the endstop wiring