It might make some momentary connection that breaks again when the printer is more active. Cheapest/easiest thing to do is to replace the cable. Steppers are pretty tough but they do fail occasionally.