A coworker didn't invite me to a baby shower and I was hurt. Is also wrong to question why I wasn't invited?

Let's say I have a female coworker that had a baby shower. She invited everyone except me. I was hurt. I understand that to attend a party that I was not invited to would be wrong and a direct invasion of her privacy.

Is it also wrong and invasion of her privacy to question my coworker as to why I was not invited?

Is it worth it to say a word to her about the party or to keep my mouth shut, my hands off the table, and move on? This is in general.

Updates
+1 y
This is just a general and hypothetical question. Females can not be invited too.
A coworker didn't invite me to a baby shower and I was hurt. Is also wrong to question why I wasn't invited?
Post Opinion