> So why does their management - which should be able to read the writing on the wall, since that's part of their job - not issue a strict hiring freeze [...] Why do they go from hiring to firing in the blink of an eye?
They did have a hiring freeze, and didn't really go from hiring to firing in the blink of an eye:
* In May they froze hiring for engineers and low-level data scientists.
* In July they announced that there would be restructures, and asked managers to start identifying weak performers.
* In September they extended the freeze to all areas and announced that they would be reducing labour budgets for teams, and restructuring.
In all probability, this engineer was probably considered 'on-shoring' rather than a hire so slipped through the hiring freeze (headcount figure stays the same, we are just moving someone on-shore) but then didn't escape the corporate redundancy. Although this individual story is awful, at the scale of 12,000 layoffs unfortunately there will inevitably be instances where the circumstances are poor.