Mass General Brigham attributed the layoffs to an expected budget shortfall of $250 billion over the next two years.