Well, while it is true that the way a person speaks isn't a guarantee of anything, there are patterns and mannerisms that are more or less common along gender lines.
The biggest one you'll see talked about is active vs passive voice. On average, men are more likely to use the active, women the passive. Again, it isn't some kind of built in inevitably, I've never seen any research that indicates causation with any degree of certainty that's believable
But it is part of some speech therapy programs for trans people, most commonly trans women.
Webster's has a good explanation, but I'll lift their example out of laziness in case nobody wants to read it.
It's about verb vs subject. Active voice is "Jerry threw the ball". Passive would be "the ball was thrown by Jerry". Now, in writing, each has a use and choosing one or the other wouldn't necessarily mean anything about the author. But, in speech, (again, on average) men will use the active voice more than women, when either would work equally well to convey the matter.
And there are also turns of phrase that have some degree of prevalence along gender lines. There's minor differences in adjective and adverb usage. There's even some general patterns in cursing. Best example that I know of is that men are something like twice as likely to say something is bullshit rather than just calling it stupid or even wrong.
None of that is 100% though. And, to the best of my reading on it over the years, it seems to be either predominantly, or fully a learned thing. When someone internally identifies as a boy or man, they'll pick up those gender norms. The same is true for those that internally identify as girl or woman. So the details of exactly what patterns exist will differ between languages and cultures, but people tend to gravitate to the patterns of their gender identity.
It's a really fascinating piece of human behavior, and language acquisition in specific.