I'm sorry that in your desperation you attacked probably the one person who was trying to help you. That often happens where we are depressed.
Ok, try and look at things THIS way...your parents and their inability to get along IS what is causing your problems..so don't twist it and think you should carry this burden all yourself... it's THEIR problems on your shoulders... you better share all your sadness (not necessarily all the info) with them... this IS their responsibility. Just think, if it's too much for you to handle, as it certainly is, who do you think is supposed to help you with it? Try maybe an adult or two...called PARENTS!!!!
Please don't feel like a burden. Parents need to know ALL of the rippling effects of their divorcing etc. imo.
Now, while you were in hospital, did they give you new meds to try??? Why not, if not? What counseling/therapy plan did they help you make for once you were out of hospital??
Breathe. Things will not always be this dark. Really. Things changed. It's the depression that makes you think things will never get better or change.