As everyone else likes to throw their comments in, I will indulge also...
This incident happened just after Iran launched some missiles. Hence everyone on edge.
The result was that one particular SAM battery fired on an airliner in error. Hardly a mind-boggling occurrence. This sort of thing is always a possibility, in a war zone, without adding endless plots and scheming.
And with perfect predictability, this is followed by also the usual:
(1) the event is blamed on Trump. Yes, if he hadn't done X then Y would not have happened. But if you want to be honest with yourself, you should continue following this back-logic at least to Jesus, if not earlier...
(2) A myriad of armchair experts will voice their opinion. Invariably illustrating both that they they have pre-conceived political ideas, and that any knowledge of warfare is restricted to whatever they have read from news reports on the current incident...
(3) the country in question, sufferring international backlash and internal pressure, will hang out to dry lower people that were just trying to do their job.
(4) whenever an airliner is involved, there will be the usual crowd casting aspersions onto their decision to fly. All these comments are made post-event. Always. 20/20 is the best eyesight.
(5) Noone in the commentary has had any experience nor understanding of the real, operational situation or reality. They have just seen movies... And they have no idea as to the pressures and dynamics of targetting/decision-making in these defense systems. I have no doubt that the algorithms that the SAM system had decided that the particular flight was a menace. The crew had mere seconds to react. When the fancy AI tells you that you are facing inbound destruction in a mere jiffy, I can understand a crew's decision to go with the equipment rather than boldly make a call on the off chance it is wrong.
Why is it so hard to accept that bad things happen in wars? It is tragic, but really it is tiny. More Canadians would have died on their roads in accidents in the last month than were killed in this error in the fog of war....