It's caused by a very common cognitive bias called the Just World Hypothesis.
It's tha same thing that makes people ask cancer patients what they "did" to get cancer.
Everyone wants to believe that their own good fortune is deserved and the corollary that unfortunate people deserve misfortune.
I hope I'm wrong but I think you're going to find that it's not generational.