This is true for all ages and categories; there are good and bad younger programmers, good and bad middle-aged managers, good and bad grey beard *nix sysadmins etc.
It's the age equivalent of https://xkcd.com/385/ . When it's a younger person, it's "this person can't code for <x> because they don't have experience." It's harder to quell that cognitive dissonance when you don't have that out and forces you to place the blame on incompetence.