There's always a reason why people do the things they do.
Don't be deceived. People always have reasons why they do things to you because nobody does something without a reason.
You just have to fish it out from them.
Sometimes it's not even worth it because knowing the reason might hurt you more than the thing done itself.