I think one of the biggest causes of loneliness is over sharing. We as humans respond more readily to negative stimuli than positive reinforcement. Therefore if a person has two opinions, one we agree with and one we don’t, we’re not likely to be overly excited about our compatibility. As we share and learn more about people than ever before, not all the things we discover we like. The chances of ruining a friendship because of ones beliefs are greatly increased because of 1) Social Media = Larger audience 2) More sharing = more reasons to dislike someone that might otherwise have gone unnoticed.
On the bright side, your close friends are likely to be even closer than how friendships existed in the past