737 Max also had stellar records and then they started crashing one after other. Boeing has earned this reputation. Also as per information from twitter pilot did called mayday immediately after takeoff, so high chance of technical issues in aircraft.
The two are not remotely comparable. The 737 MAX entered commercial service in mid-2017 and had fatal crashes in 2018 and 2019, both with aircraft that were only a few months old, out of a total fleet in the tens of aircraft.