The irony is that a lot (I would even say, most) of what's being done in the software engineering field is really more of a trade, and would likely benefit from being treated accordingly - including having trade schools rather than colleges teaching that stuff. I'm sure there are other industries like that.
When enough people realize just how much of it is smoke and mirrors, I think the common snobbery towards those "dirty" jobs would dissipate. Right now, it's self-reinforcing, because being "better than those guys" is part of white collar identity, regardless of pay. It reminds me of the racial arrangement in Jim Crow South, where even the most poor whites would find solace in that they're not on the lowest rung of the social ladder.