Why Tech Companies Are Laying off Thousands of Workers