A bonus before parting

In the same month that I was told I was RIFed, I was given a bonus. I’m not complaining, I’m just bemused at how big companies operate.