Some airlines manage better than others
There must be something to the idea that you get what you pay for because there is a wide variety in the quality of the food you get on board and even at the airports. The best solution when possible is to bring your own food. Then you know it's clean and safe to eat.