Is it wrong to be mad? :/

So my sister fell down stairs and lost her twin baby girls at 29 weeks, and it was horrible for all of us and we were all very very heartbroken. Almost a year later she gets pregnant again, and tells me. She was about 5 weeks 6 days today and she tells me she's miscarrying. It's awful and I'm so sad for her but this is where I'm having a lot of trouble... Throughout this pregnancy she's tried to quit smoking & had it at about 1 a day, which still... Not good. Also she was drinking a couple of times I saw at least. I never said anything because it's never felt like my place too do so... But now I'm just angry and hurt that she was very irresponsible to lose a baby again. It's very sad for her and I'm very understanding of that... But I'm also just angry. I'm not going to tell her I'm angry of course & im going to be there for her... But idk is it okay that I'm a little mad? :/ any advice? :/