Videos posted on social media showed travelers scrambling and rushing out of a terminal.