The job market is humming, but layoffs are still happening in a shifting economic environment