The creature doesn’t provoke opportunity attacks when it flies out of an enemy’s reach. (Pteranodon, pp. 80, MM)