I will go so far as to say your suggestion to "focus on the problem in full generality" -- which is to say, to completely encompass an impossibly complicated issue -- is just a way of trying to pass responsibility and to avoid admitting that there is a problem. Of course, trying to resolve sexism everywhere is admirable. But to use the existence of sexism in other fields as a reason to avoid addressing it in our own is little better than rejecting its existence altogether.
edit for your edit: I think there are specific reasons that sexism is more prevalent in tech, which are not necessarily related to "software people are ignorant". In our culture there appears to be a general bias against women in pretty much all STEM fields, perhaps for historical reasons. I suspect (although this is just my opinion) that this is largely responsible for any greater bias that exists in tech as well. There is a mistaken perception that women are less capable in highly rational pursuits, which affects how women in tech are viewed by their colleagues. I think this is a big reason that women have a hard time in tech.
I think "just don't be sexist please" makes more sense than "don't be sexist at work if you belong to this profession". Like I desperately clarified in my edit which you may not have seen, I'm not saying it shouldn't be pointed out in tech, I'm saying it's suspicious that the cultural narrative focuses so much on tech in particular.
But real life is more complicated and messy.
Same here, especially when I think back on _years_ of solving computer problems where it was just me and some computer that was _incapable_ of caring about my gender or ethnicity. I would say that tech should be more insulated from sexism and racism than most professions, because the compiler simply does not care. Somehow there's _more_ sexism in tech than in jobs that involve talking all day?
Unless you want to invoke an explanation that involves some combination of classism and good old-fashioned picking on (relatively) low-status nerds because it's easier and feels more natural. Then there wouldn't be much left to wonder.
(Edit: NOT saying we shouldn't point out sexism in tech, but expressing skepticism at the broader cultural narrative around how software people are uniquely ignorant and sexist relative to other professions. Ask ten women who've worked somewhere besides tech for a few years for some stories of sexism, you'll hear plenty.)