Clearly terrorism.
What are the odds of a pilot having a medical emergency at the very minute the other pilot leaves the cockpit?
Odds are this was terrorism.