Fresh young folks work more for less and have less “distractions” outside of work. Less opinions, more likely to fall in line. When you need bodies ageism makes perfect sense.
Most of the time experience and healthy cynicism is the cheapest option.
I've actually found that not always true. In order to acquire talent, the very large corporation I work for has been hiring younger developers at higher wage levels to compete.