Need advice.. Depression

Molly 👼x7 🤰🌈 • After 8 years and 7 losses.. Finally pregnant with our rainbow baby boy!!!! Due May 10 2023 💙

My best friend got accidentally pregnant with her bf of 2 months at the time (I set them up). My husband and I were ttc for 2 years at this point. I got a positive early Sept and she came over a couple days later wanting to test (she was scared). She got an immediate positive and was hysterical, crying, and cussing. I was only okay because I was pregnant too. Although it did hurt because she has always said she doesn't want kids for a few years after she's married. My pregnancy ended up being ectopic and it burst. I was sent to the ER with internal bleeding and I was minutes from dying. This was late September. She came over a couple days after and told me her due date. I have cried almost every day and I was suicidal even before this all happened. I told her I needed space and she understood. I messaged her 2 weeks ago on snap chat and she saw it but never responded. Should I be offended? I feel horrible, but it's only been 2 months since I talked to her last. I feel sick and I can't stop thinking about it. I have been in intensive therapy and have seen 6 therapists through these past few months so that I can get over this. I thought she would understand and welcome me back. Am I wrong for distancing myself? I didn't want to bring my negativity/depression around her and I wasn't emotionally ready to see her pregnant either. Please help 😭😭