Good Morning
This is Kitt. I am sorry you have gone through this but I am glad you are doing better.
Sometimes our illness does cause a change in a relationship as life never stays the same and how each person copes with depression is an individual situation.
My own daughter told me she could not be around me when I was sad as it brought her down and she needs to be around positive people. I was heartbroken but came to accept that she was taking care of her own mental health.
This may be what has happened with your friend. I would like to suggest that you give this person some space and not count on him to be the support person in your life right now. Do you see a therapist?
A therapist is that one person you can say it all too and know a personal relationship will not get damaged. It is not your fault for how your friend has reacted so do not beat yourself up.
Keep working on you and I wish you peace.
Kitt