Struggling with being a friend.

I'm feeling very lost these last few days because a good friend of mine was diagnosed with a blighted ovum. I'm lost because I'm angry that she's upset when she didn't even want her third baby and my first baby was miscarried. I know how unfair and cruel what I'm feeling is and I understand that I would be devestated in her shoes regardless but I'm at a loss as to how to be her friend. I guess I'm just looking for support on how to best be there for her without feeling angry and hurt myself. Advice anyone? πŸ˜•