It's in fact needed for more practical reasons. “Height is required for the actual performance of the job. Airlines want flight attendants who are tall enough to, for example, reach the overhead safety equipment. Many airline companies especially in the US have even scrapped the weight requirement.