Keep in mind that not all can get a claim saying that they were unlawfully discriminated against, and so, it's not illegal for an employer to treat an employee unfavorably. But, federal law prevents discrimination against employees based upon the subsequent protected classes: