Your garage door is programmed to travel a certain distance before it closes.
Garage door closes then reopens.
If it closes only partway the safety sensors are usually responsible clean the lenses or realign them and make sure there are no obstacles blocking the beam.
If your garage door won t open or close the problem could be a bent track a broken torsion spring or a bad capacitor int he motor housing.
You push the button to close the garage door.
But changes in weather conditions can causes your garage door components to shift or contract.
If it closes before that distance has been traveled it thinks something is wrong and it reopens to help prevent any damage or safety risk.