Something is either restricting the gate when it reaches the closed position activating the sensitivity mechanism to reopen the gate or the sensitivity is just set too high.