Earlier quoted context omitted.
They had a huge surge of demand coming out of COVID, and hired to meet that demand. That demand is gone, and they are moving their staff requirements back down closer to pre-COVID (and not even that far). What exactly were they suppose to do?
Keep the headcount as high as possible while still turning a profit so they can react on demand going up again in a short notice.
Opportunity cost is a thing. Just because you're not in the red doesn't mean the decision is costless. Think about it from the opposite perspective. Suppose you're a company with the right number of employees (neither too much nor too little) but you see demand is dropping. Would you go on a hiring spree so you could "react on demand going up again in a short notice"?