Mainly because older people aren’t spending their lives on Facebook and twitter, getting spoon fed with massive hate campaigns against the only remaining electable person who isn’t sold to the kremlin.
The vote for Macron was predominant among the elderly. Number 3 Mélenchon (radical left) got the votes from the 35- (and he was one of the 2 candidates actually proposing something against climate change). Le Pen (#2, far right) was in first place in-between.
It does not mean that everything is explained by age though.