And, moreover, if he already knew her, he should have been able it intuit a) if she was interested and b) what her character is like - is she the sort to try to actively shame people.
I really hope your son does deep introspection as a result of all of this, rather than blaming her, women, or an entire generation.
I know that it's a different culture, but in my country (South America one), people would not see that age difference with good eyes. I'm not sure about public shaming (assholes are not a new thing, though), but I guarantee you that people would be weirded out by a guy almost in his 40s approaching a woman with half his age, and I live in a mostly "open" country in that regard.
It's not necessarily about the age gap, but her being younger than 25, at least here where I live.
I can't speak to countries outside America. I'm sure there are a wide range of cultural norms across the globe. I recommended my son date women his own age and he agrees. He's thought about it and now sees he got older without updating his preferences for women. Now he realizes that a 22 year old woman is too young for him.