Anecdotal experience: The people in my circle who are not in tech industry are having schadenfreude when it comes to tech layoffs. The sentiment is "look-at-these-high-earning-hotshots" ... who is laughing now? Extending to wider people (like journalists, commentators, etc) this is one of factor behind newsworthiness.
> have tech layoffs always been happening during financial 'bad times'?
Yes. Although in this case, a lot of companies over-hired in last 2-3 years and hence I feel current round of layoffs are just the beginning. There will be more.
> I remember the dotcom bust
I think compared to dotcom era, tech is much more tightly coupled in our daily lives. Whatever can be digitized will be digitized. Whatever can be automated will be automated. So tech is here to stay and hence I would expect a revival in late 2024-early 2025.