I'm sure you realize by now that the total measure of a person's value in any workplace in anywhere US is due to some boilerplate analysis by actuarial bean counters who have a spreadsheet for their HR clients.
So it's not so much how smart, experienced, knowledgeable about a business you are, or other seemingly useful attributes one possesses that seem to make reasoning for hire. No it's where you are in that spreadsheet, which cell you happen to be residing in?
Yeah, probably ageism, but proving that of course is a lot of downstream financial damage for the plaintiff.