... ageism or not?
Not. That 'kid' straight out of Flying School could be aged 20 or 40 and the principle would still be the same. (The 40-year-olds could actually be more attractive to the airline as they will eventually feel, once they have worked off their bonds and 'gained' in seniority, that they have more to lose if they leave.)