As the saying goes, 'Make hay while the sun shines'. If you don't take advantage of a good opportunity while it's there, it'll eventually go away and you won't have benefitted from it, while others have.
Not saying that to justify SVB or anything, as they're in the business of securing people's money long-term, and they made bad decisions that they had plenty of time to course correct for (rates have been continuously rising for well over a year, with a clear goal of lowering inflation to around 2%, and you can see how slowly that was lowering and predict roughly how high that would get).
Car companies also had a big faceplant moment with cancelling chip orders, but we were in the midst of a novel global pandemic that no one really knew how people were going to react to, or how big or how long it would last. Health officials were predicting around 100k total deaths in the US, and we blew way past that.
But for tech hiring I can clearly see why they were like 'let's take all this zero interest cash, get a bunch of people, use them to get a competitive advantage, and then when everything starts to unwind we'll just lay people off'. It's a shitty thing to do to people, but I get the reasoning.
I know they all claim they didn't see this coming and 'take full responsibility' or whatever in their layoff announcement/apology letters, but behind closed doors I bet they knew exactly what they were doing, at least the vast majority of them.
I've had quite a few opportunities in my life that I didn't really leap on 100% like I should have, and as a result those opportunities slipped by, and I didn't end up making that hay at all as a result, the opportunities passed and I'll have to find some other way to make that hay.