Why when I am nice men like me more than women but when I'm not nice women start to like me more than men why is it like that?

Why when I am nice men like me more than women but when I'm not nice women start to like me more than men why is it like that?
Post Opinion