the airlines are sexist and her friend isn't paranoid to feel she's being objectified.
That's not a wrong statement.
What most people are trying to explain though, it's that even if you overlook the blatant sexism that still exists in the industry, this is a matter of health and safety.
I take 50-60 flights each year. I've seen many a situation where yes, an overweight or obese flight attendant would struggle to assist passengers adequately.
Someone suffering a stroke or going unconscious in the middle seat of a very cramped plane, cabin crew might need to lift this person off their seat to perform CPR. Same for those injured after some serious turbulence. There might be broken legs, luggage flying all around the cabin, etc.
Sick passengers, where crew might need to squeeze inside a row of seats to assist with clean up or simply give a hand.
Have you seen those tiny seats cabin crew strap themselves in during take off and landing? You don't fit in those as a size 18. You also don't fly the same plane every day, so you can't expect they will modify them for you.
There are 747s and 380s where you have to walk up some tiny stairs in the middle of some mild turbulence with a tray in your hands, like a PP explained. There are teeny tiny planes, like those BA Cityflyers that cover London-Amsterdam 5 times a day, where everyone and everything is squeezed into a tiny space with barely a few cm margin. Cabin crew are still expected to maneuver around graciously, and serve food, drink, help in emergencies.
Most cabin crew start by working on short routes, tiny planes, small crew, until they progress up to larger aircrafts and longer routes. They need to fit in all types of planes, be able to evacuate passengers through the tiniest of doors/windows, so it's no surprise there is a weight/height proportion requirement for these jobs.
It's not discrimination or sexism, it's common sense.