There are relatively few cultures that are not patriarchal (men, considered the heads of households or industries, running the government, etc.) Even now. So the term comes from guys assuming a woman couldn’t know what she’s talking about, and feeling they have to explain everything in minute detail. If you’re not well versed on automobiles or sports, for example, imagine that scenario regarding everything else. Here I occasionally see it when a woman is discussing menstruation or childbirth and guys jump in to explain to her what’s actually happening.