trying to help my friend out. she opened up to me about some issues and i wanna help her. for a while shes been kind of ignoring me randomly, maybe there is a reason but she said its irrational and the reasons wouldnt make sense to me. she said she tries to talk herself out of why shes angry but it feels impossible to be nice or just talk to me rationally. her almost exact words " i dont know why this toxic behavior is in me but i just want it to stop"

 im hoping to understand what shes going through more and also get her books from the library about what illness that shes dealing with to read about it. (we both read a lot and i think itd help her to be informed about whats going on)

i see her everyday because i dont want her to end her life, and although she hasnt said that i worry shes been thinking it. she is in her early twenties. anything you can recognize from what ive said would be helpful cause google searches are leading me nowhere. 

i have anxiety and depression and she was always there to listen to me when i need a friend to talk to and i wanna be there for her too