>>7400First things first you should really focus on your studies, you already have a motivation to live which is to live for God, that is already miles ahead of what other people are going through, I would say start waking up early and make your bed every morning, it will do wonders for your mental health, it's kind of a meme but it really works.
I don't know your family or friends or why you would become distant to them but if you find that they're good company and worth keeping around then you should get tell the people you trust about this, if they don't help you then they weren't worth being close to in the first place, may God bless you brother.