advice?

i feel as though I let my good friend down. we both got pregnant at the same time only a 3 day difference recently she had found out she miscarried at 6 weeks, I can't help but feel horrible and that she's mad at me for not losing my baby I feel hurt that I can't understand. I wish I could be there for her just don't know how. she had so much anger built up and I don't know what to do I've offered advice to her and tried talking but now I feel like I can't be happy about my pregnancy cause she lost her baby. any advice/ support needed.