Why does your garage door keep opening and closing?

mine did that sometimes and i found out that my house was in line with a flight path to an airport 30 miles away that was used once in awhile. changed the codes in my remote and the overhead motor and haven't had a problem since.