If people were hired (say, in 2020) under the condition that they’re allowed to work from home, this might be considered constructive dismissal - that is, forcing an employee to quit in a way that is equivalent to firing them. The employees are then entitled to the normal rules for unemployment, and potentially severance pay, unused vacation cashout, and so on.
I think Musk is facing several lawsuits along those lines, but might be moving to settle because the cost of arbitration would potentially bankrupt the company.