There is an electric "eye" near the bottom of the door. Actually one on each side. This is a laser. They have to be aligned and unobstructed for the door to close. This is a safety feature, started back years ago kids started getting hurt by doors closing on them. (Or so it's said.) Make sure there is nothing blocking the eyes, and that they are aligned properly.