One other thing I'd also point to is network effects. If lots of people are all finding it easier to be online all the time rather than be social, then for any given person, that results in a reduced number of potential friends.
[0] I would actually put some blame on social media for being a poor substitute for socialization, but just good enough that it makes people less likely to dig themselves out of being isolated. But blaming the internet in general, including things like blogs makes as little sense as blaming books.
[1] https://www.lesswrong.com/posts/reitXJgJXFzKpdKyd/beware-tri...
Even when I didn't know others in the building. My central location is right next to the main public transport hub which made it super easy for my existing friends to get in, and not worry about how they are getting home after drinking because its a 5 minute walk to the train station.