Hard to say without all the facts.
Could be it was something to do with the institutionalised incompetence of the former Eastern Bloc, or maybe a dodgy operator who got the contract because they were the cheapest.
But then again, sometimes, with all the resources and the best will in the world, planes crash.
Thoughts are with the families; will be intrigued to see the outcomes of the various inquiries.