Hello there,
The very attempt to commit suicide points towards a strong possibility of severe depression. This is an emergency by all means. Depression is well known to be triggered and worsened by psychological and /or physical stressors. And this is clearly the reason in her case.
Next Steps
It's imperative that you have to try to get her to see a psychiatrist of your choice and ease of accessibility. Considering the severity of her situation.. She may require medicines and counselling so that she can be herself again.
Health Tips
Please avoid judging her for being how she is at this point. Be vigilant round the clock and supervise her treatment. Hope this helps u find an answer. Please feel free to connect in case of any more queries.