It seems to be mainly tech companies firing people right now. How this happened:
Tech companies get lots of money (especially over the pandemic) and hire lots of people, with more attractive benefits than other companies can afford.
Market conditions change, there is less money floating around to invest in tech companies.
Tech companies are making less money and getting less investment.
Tech companies need to cut expenses (the largest expense for these companies is usually staff.
Other companies still need staff and are still hiring.
It seems to be mainly tech companies firing people right now. How this happened: