Most likely you are asking the motor to generate too much force for too long, which results in motor overheating and its firmware entering thermal shutdown mode to protect it.
See these posts:
Try to reduce the friction.
Most likely you are asking the motor to generate too much force for too long, which results in motor overheating and its firmware entering thermal shutdown mode to protect it.
See these posts:
Try to reduce the friction.