You can see how it’s right when the aircraft regains a flat plane that the ejection happens.
It’s likely a safety mechanism that was triggered.
The headline is poorly worded.
The first sentence of the article is more accurate in stating ‘a pilot was ejected’