There seems to be significant opportunity to zig as others zag. Imagine the Intel letter saying "we are going to take advantage of the current hiring environment to scoop up talent, and push forward on initiatives."
Layoffs and cost focus are two of those. There's also additional pressure from major shareholders (institutional) to reduce opex, even if the better strategy would sometimes be to stretch for some strategic goal when everyone else is contracting. Your stock is going to take a hit in the short term.
Lastly, some is just the "yell harder" mentality kicking in for management that doesn't actually know what to do.