If someone is fired after complaining about sexual harassment in the workplace, that's retaliation because you have a legal right to a workplace free of such harassment.
If someone is reassigned after complaining about their employer's ESG policies, you're going to have to explain to me what the nature of the legal protection is in that case for me to see that as retaliation.