Most Helpful Girl
It depends on what you're definition of "right".
For instant what you perceived as treating someone right might differ for the other person.
Example: The individual could be to a very nice person, always caring and there for the other whenever they need it. However the other person might see this as intrusive, annoyance, and clingy.
As a result of miscommunication and misunderstanding of what the other person's needs and definition of "treating them right", it could be seen as the other person is intentionally hurting you for you're good deeds, when in fact you're ideal of treatment does not match up.
Off course the best way to know why they did what they did, is to talk about the effect of their action and ask for their intent of that action.