A country exists with a racial divide, let's say blue/green.
A blue person abuses a green person.
The green person does not fight back, and takes the abuse, knowing they are powerless in the society.
A different blue person, blue person #2, attacks the original blue person. This puts bp#2 at legal and physical risk, even though they were never under any threat of subjugation or abuse from the original attacker.
Blue person #2 would be said to have acted in a form of reciprocal altruism for the green person. This type of behavior is often seen, even in situations where BP#2 has little or nothing to personally gain, was never at any risk, and could potentially receive large negative consequences personally for their actions.
Clearly blue person #2 was also acting in a manner of animosity, that (more generalized) could or not be considered discrimination, economic or otherwise.
There's even a term for this in economics, called Animosity, which leads to economic imbalance: https://en.wikipedia.org/wiki/Economic_discrimination#Animos...