Pecking order nonsense.
People who are big believers in pecking order see you as "beneath" them if you compliment them. They then feel owed and like you are permanently required to kowtow to them and aren't allowed to quit.
Prosody and tone matching.
My son probably is incapable of these two things. He gets very negative social reactions from people all the time. Tone matching signals pecking order at a subconscious level. People aren't consciously aware of it.
I apparently tone match by default, which gets me read as deferential and servile. It works quite well when dealing with, for example, wait staff who routinely get mistreated. I get excellent service anywhere that I am a regular.
But people who do not perceive themselves as "below" me conclude I'm a doormat and they can wipe their boots on me.
Value signaling.
People get this idea that they are irreplaceable and I am being so nice because they are so incredibly amazingly rare and wonderful. I have found it works vastly better for me to be kind of indifferent and make sure they realize "there can be another you in a minute." Which annoys the fool out of me.
I agree with all your statements above, though. I think evolution has left us with some social behaviors that can be very frustrating.
I have a very long story from a peer's experiences about how taking mentoring a little far and becoming an advocate for a young engineer can create someone who is both entitled and incredibly lazy in a way that, I think, permanently damaged his career by training him exactly the wrong lessons about value and effort at exactly the wrong time.
Slightly tangential, but my favorite post on this topic: http://slatestarcodex.com/2017/09/05/book-review-surfing-unc...
My working hypothesis is our brains are always learning - literally everything. We learn our concept of time from our experience with it. We learn our concept of a relationship with another person from our experience with them. If someone comes into our life easily - relative to other relationships - our brain associates them with less value. It’s also horrible logic.
Edit- as for whether someone likes you: people accept, overlook, and tolerate more aberrations from normal/good treatment from people they value or like. If they’ll accept little of your aberrations then they’re unlikely to ever like you - run for the hills. That’s one of my tricks for likeness.