Laying off without notice period is illegal. Hence the action.
www.business-standard.com/amp/companies/news/forced-layoff-row-paytm-not-to-recover-joining-bonus-after-govt-steps-in-124071001150_1.html
Laying off more than 200 people without govt approval is also illegal. If more than 200 people file complaint than May be some action can be done. Also depends on labour laws of a place. Byju had to revoke
indianexpress.com/article/political-pulse/bjyus-puts-off-layoffs-in-kerala-as-in-a-first-for-it-firm-state-govt-steps-in-8248000/lite/