Check your retract height. The homing switches aren’t limit switches, if your Z retracts further than the physical Z envelope the belt will slip(even if tensioned properly) then the machine has no idea of where it’s at and tries to bore a hole to China (unless you’re in China, then maybe it bores to Wyoming?). This happens most often with thick material, or longish end mills, or just a really high retract height.
Dan