All jobs at a publicly traded company are related to stock price. When a company goes public its primary duty is to the stockholders. So in times of hardship it has to reduce cost to increase income / stock price. The primary way of doing this is layoffs.