I dont think it makes sense to draw a causal attribution from loneliness.
It seems like these would both be related symptoms of a shared cause.
Also, I dont know when the loneliness epidemic kicks in, but I usually hear about it in terms of adults. Are teens also increasingly lonely?