The x axis sensor is not lighting up or recognizing the gantry. When you home the machine the x axis keeps trying to drive itself forward until it hits the physical stop. The sensor doesn’t look like it’s been damaged, it’s just not working.
UPDATE: the x axis sensor on the left side of the machine is dangling off.