The phrase "treated differently" can be replaced with a variety of synonyms depending on the context. If someone is discriminated against, we could use "unfairly treated" or "subjected to bias." "Unequal treatment" can also be used to describe situations where people are not treated equally. Another phrase could be "given preferential treatment" or "shown favoritism." If someone is mistreated, "abused" or "wronged" could be used. "Discriminatory behavior" can also be used as a synonym. Additionally, "inequitable treatment" or "disparaging treatment" could be used to describe situations where people are treated unfairly.