Since the market is tanking, there's a likelihood that people will be spending less, thus leading to less profits for my company; as a result, the only easy way to keep investors happy is to reduce costs, and the easiest way to do that is to start doing layoffs.
I would very much like to be wrong on this; if I am I don't have to constantly worry about being laid off.
That would be the case in the ideal world. However, stockholders care a lot about stock prices being low, and they elect the board, which in turn chooses/advises the CEO (and other executives). When it's the CEO's butt on the line, the company will be reactive to share prices; just to make sure the stockholders are happy.
A secondary concern is that low share prices makes a company vulnerable to non-/hostile takeover bids - which again is bad for CEO job security.
TL;DR: The tenure of the top echelon (board & executives) of public companies is directly tied to (relative) stock performance due to share voting rights.
RSU value is lower for employees, harder to retain talent, more incentive to fire and cut costs to keep shareholders happy.
I struggle to understand how those two things can happen at the same time, to the same company, due to the same cause. I mean, if it's harder to retain talent, presumably this means some people leave the company, leaving the company more dependent on those who stay. Why would they fire them?