Wasn't most of that caused by that one change in 2022 to how R&D expenses are depreciated, thus making R&D expenses (like retaining dev staff) less financially attractive?
Yes, because US big tech have regional offices in loads of other countries too, fired loads of those developers at the same time and so the US job market collapse affected everyone.
And since then there's been a constant doom and gloom narrative even before AI started.
Context: This news story https://news.ycombinator.com/item?id=44180533