Why would a perfectly good plane suddenly go rogue? The answer was disturbing enough to ground 6,000 aircraft.