Airlines’ track records amid the COVID-19 pandemic factored in the new ranking.