It's an open secret in Silicon Valley that most tech companies prefer younger workers. Recruiters do what hiring managers ask for. Most hiring managers won't say it explicitly- they'll say things like 2-5 years experience from top schools or from the FANG companies with experience in modern technologies.