When an employee is fired for reasons that are not legitimate, typically either because they are unlawful or because they violate the terms of an employment contract.