How come when I am mean to the opposite sex it is just wrong but when a guy is mean to me for no reason it is also my problem?

How come when I am mean to the opposite sex it is just wrong but when a guy is mean to me for no reason it is also my problem?
Post Opinion