There are many factors that can cause this problem but the most probable reason is poor connectivity or mis connection. So the next thing is how you can fix this. First you should inspect your garage door sensors yourself.
You should also check that there is no dust , leaves or mis object in the garage door sensor. If so you should clean your door sensors.