They have to find a job willing to sponsor the visa, all within tight timelines. There's a 60 day grace period once you're laid off, but if the new petition is filed late, you have to leave and re-enter, etc. The timing is also difficult in this case, as hiring often slows down in Nov/Dec.