In my experience guys and girls will do this to each other and sometimes not even intentionally. When it is intentional usually linked to jealousy. But some won't even know they're hurting you. This may sound backwards but sometimes its even b/c they're attracted to you and don't know how to comm that well. Just my 2 cents as a guy (couldn't tell you from girl's mind)

(the girl's rationale ^ was told to me)