It’s illegal to retaliate against employees for engaging in protected activity. But not every complaint qualifies as protected activity. For example, under Title VII, retaliation is only illegal if it relates to a complaint about some form of discrimination covered by that law.