It can also be linked to the rise of individualism, an essential part of the capitalist ideology.
Life was harder, but you could lean on friends, family, and congregation. That's where the classic trope of rich people being lonely and surrounded by fake acquaintances while poor people have authentic community comes from. Maybe now that every level of society is relatively richer we're all that much lonelier.