How can legal firings be illegal?

No way I can see!