I think there is a distinction to be made between being sad/jealous for one's own situtation, and how one then treats the friend in question.
Of course it's normal to be sad/angry//jealous when your gender dreams don't come true. But like a PP said, if the friend is not being insensitive / gloating on purpose, then I don't feel we can really *blame* them for achieving their gender dreams (or ours, for that matter). It really is just the luck of the draw! No one "earned" or "deserved" their gender dreams more than anyone else.
Although, I totally understand if someone would feel the need to withdraw from situations that remind them of what they are missing. In this case, you could tell your friend that you are struggling, but that it's not personal against her, and that once you feel better, you will love to see her again.