A large part of that is because the U.S. government conspired with companies to drive down tech wages. CEOs complained how much they had to pay for competent tech staff and the government agreed to help them drive down wages. I know quite a few former IT staff who want nothing to do with any of it.
I also witness problems every day that were resolved in the 1990s but reappear because the younger, less competent IT staff have no connection the past at all; they're either foreigners from deficient training and schooling programs or have no sense of growth and progression and don't know nor care what can go wrong.
I see more and more IT staff who are learning on the company dime. They're figuring it out as they go and often go with the first solution they find but have no idea what other complications it's going to cause down the road.
I also see more and more tech staff who, when you get to know them, admit they have no IT background at all but were thrown into something because they were somewhat capable.
Have you tried turning it off, and on again?
The company I recently retired from sent most of their IT to Microsoft and Oracle which means India and Help Desk to India and Poland.
I have a friend who did a lot of technical recruiting for Dell and Mirosoft who said it was commonplace to have to remove dozens of candidates from their technical cattle call interviews because they would access telnet and have someone else from who knows where taking the technical part of the tests for them...