I was fired by Google this past Monday for a document that I wrote and circulated internally raising questions about cultural taboos and how they cloud our thinking about gender diversity at the company and in the wider tech sector. I suggested that at least some of the male-female disparity in tech could be attributed to biological differences (and, yes, I said that bias against women was a factor too). Google Chief Executive Sundar Pichai declared that portions of my statement violated the company’s code of conduct and “cross the line by advancing harmful gender stereotypes in our workplace.”

My...