It's going to optimize job ads towards people who click job ads.
Young people are more likely to be looking for jobs than older people, and thus click job ads more. [1]
So Facebook's ad algorithm's are going to target younger people because it's more cost effective, because they want to see these type of ads more by far. By the data, older people do not want to see these type of ads and thus are not shown them. If you did show it to them, they would complain about bad ads (anyone who does FB advertising gets a report from FB on how many people Xed out an ad, and too many is really bad for your account)
Nothing to do with worker effectiveness or how HR treats older applicants, which is what 95% of the comments in this thread are taking the opportunity to talk about.
[1] " About 60% of Millennials are currently open to a new job opportunity and are by far the most likely generation to switch jobs. To support that, 21% of Millennials in 2016 reported switching jobs within the past year, compared to roughly 7% of gen Xers and other non-Millennials. " https://www.forbes.com/sites/larryalton/2018/01/22/millennia...