Yeah, it's a combination of issues - people got used to 'cheap goods' but at the same time many companies profiteered keeping their 'known for high quality name/brand' while off-shoring and seeing reduced quality, grossly increasing their profit margins....
For all the people who say "Buy American" or "Buy EU," how many when faced with a choice of a product made in their country vs one half as much that is imported buy the import?
Consumer behavior drives manufacturing decisions because many choices are based on price first.
Except it's not a labor shortage but the unwillingness of companies to pay what it takes to get workers. If McD's pays more than you do that's not a labor shortage when you can't hire; it's a problem with your business model.
...
Lots of companies also switched hands into larger companies, so sadly there are entire swaths of 'used to make good stuff' still living of their diminishing quality/brand names.
It is cyclical though - used to be hiring India tech (and other 'reduced cost' areas) people for ~1/8th-1/10th of US salaries. At one point in the past couple of years it had jumped to nearly 50%, currently seeing around 35-45%. As is the case everywhere, not all of them are 10x performers, and in some cases, even at 50% they are not producing parity work or even 1/2 of what would be parity. This isn't to say there aren't some bright minds there because there are across most/al countries, it may be a failing in their entire tech contracting industry or in HR, a greediness not paying for the local market top talent, etc., but in some cases it's been bad enough (e.g. for 100 applicants, not one worth moving to next stage of interview) some positions that were originally open to some locations - now no longer are.
I've worked with various distributed teams worldwide, and don't care where someone is from remotely - bring the skills needed and do the work and all's well. Currently have or have had reports or team members from China, India, UK, France, Mexico, US, Romania, Ukraine, Russia, Germany, Ireland, Japan, Philippines, Australia, and probably a handful of others I'm forgetting now.
In many cases, it's probably finance/greed trying to push the envelope of 'how many can we get?' assuming all skills and experience are equal, but pushing for 'cheaper' and well, getting 'less skilled' in some cases. Happens everywhere when people fall into 'an engineer is an engineer' which is entirely untrue.
Too MUCH greed on the behalf of <lower cost areas> inevitably backfires, but usually causes a lot of chaos as <the next lower cost location> is sought out, and obviously in the case of actual manufacturing - that can be a looong process, while non-manufacturing is significantly easier to move.
Anyone doubting the 'corporate greed' part of the equation can take a look at CEO vs employee pay over time, here's one visualization:
Meanwhile the number of companies I will purchase things from personally continues to shrink...to avoid the 'used-to-be-good-name-but-is-now-overpriced-trash', for example for electric/cordless tools, I pretty much will only buy Makita, DeWalt or Milwaukee b/c 'all the rest are mostly trash now.' I do include some non-US companies for hand tools, but once a company ruins a 'buy by name, name == quality' reputation, it's a looong road for them to climb back up from.
Coming back to India - they will eventually cut their own throats if they continue trying to play games. Yes, it makes sense for them to try to keep more cash flowing internally, but at some point they will lose more and more foreign investment so it's sort of a dangerous game - there are probably some notable 'name brands' actually originating in India that may see some ongoing exports, but they could lose a lot of money depending on how it all plays out.