Simply having a hiring freeze means you hamstring high priority projects you'd have allocated resources for, while letting others that may lower priority ride due to inertia.
To be fair, this is true in all fields.
If you chose to save a few bucks by hiring limited devs, that's a choice you made. In our orgs, the guy who moves CSS boxes for a living absolutely can write some SQL queries. Most places don't write database code, they write code that uses an ORM or other framework to interact with existing databases.
Do you think the ad sales guys can help with the Square integration?
Or let's say you've decided to bet your social graph / web / mobile app centric company on VR. How many of those existing devs are going to be useful in VR if you have a hiring freeze? Or when you realize it's a debacle and scale down VR, how many VR devs are going to be good iOS app update churners? Etc.
Wrong team sizes, wrong skillset matches, etc.
EMs become greedy and hoard whoever they have regardless of the quantity need or size fit.
Now they just use the old "never let a crisis go to waste" to let those who isn't good enough or overpaid go anyway
Where are these companies you speak of?
I'm not talking the large scale stuff like Meta assuming the metaverse was a trend that would require their company to grow 50%, but the medium scale stuff like a department in a 1000 person company putting in to hire 12 people instead of 8, etc.
Every place I’ve worked I’ve heard things like “you better hire someone for that req before it goes away”, “if you think you need 4, ask for 6”, “make sure you don’t lose that backfill”.
Got myself a call from some Meta recruiter just a week before the announcement in November.
And HashiCorp had opened positions listed on their site too.
1. Many of these companies had year+ long hiring freezes as a prelude to layoffs
2. Companies that overuse hiring freezes end up promoting over hiring in periods where there is open hiring as teams hire in anticipation of not being able to in the future when they might need to