Why do the women in my family tend to die before the men?

I had one great grandmother who died after her husband. My great great grandmother died before I was born but my great great grandpa was still alive. My great grandmother died and my great grandfather is still alive.

My grandpa died before I was born, but my grandmother remarried (she got divorced before he died) and she died but my step grandpa is still alive (though he is a few years younger but not much) my other grandparents are still alive.

A lot of my aunts and uncles the husbands outlived the wives and old cousins. There are a few where the husbands died first. But most husbands outlived the wives.

This is by the way on both sides of my family. On both of my parents sides as well. My dads parents and moms parents.

Why do the women in my family tend to die before the men?
Post Opinion