One of the more annoying parts about being in the tech community was listening to the tone-deafness of these sorts of folks. Coming from a very blue collar background and family.
It's difficult to have much empathy for the "learn to code" crowd who seemingly almost got a sense of joy out of watching those jobs and lifestyles get destroyed. Almost some form of childhood high school revenge fantasy style stuff - the nerd finally gets one up on the prom king. Otherwise I'm not sure where the vitriol came from. Way too many private conversations and overheard discussion in the office to make me think these were isolated opinions.
That said, it's not everyone in tech. Just a much larger percentage than I ever thought, which is depressing to think about.
It's certainly been interesting to watch some folks who a decade ago were all about "only skills matter, if you can be outcompeted by a robot you deserve to lose your job" make a 180 on the whole topic.