By bringing up the recent marriage of a woman, you are either promoting that idea in general, or signaling that you are the kind of person who thinks all women want to get married.
However, while not all women may want to be married or be seen as "failures" by society if they don't, because this woman was married, it's clear that she wanted to and would be excited about it.
It's still a major life event that made her happy and deserves some congratulations or recognition. If the woman had, for some reason, been a huge WOW fan and just won a big national tournament or something, that could've been brought up and wouldn't have connotations along with it. It's still just as irrelevant, but once again, human beings usually seek to bring up and congratulate people publicly on major life events they find important.