It's hard being suicidal and depressed, I know because I have been there. Lashing out is a thing that happens, but the fact that you are apologizing to the people you hurt and explaining why you did what you did takes a lot of courage and I am sure you will gain back most of their trust as well as respect from other people.