It wasn't snubbed because of jealousy/ resentment for Streisand
or because she's a woman.
She did a capable job as director, and pictures get nominated all the time without the director being nominated(and the reverse) It was lucky to receive a best picture nod. If an unknown directed it, it would still receive the same critique.