What they are doing is called confirmation bias. They are hearing the words they want to hear and ignoring or discounting the words they do not want to hear.
This concept happens more often when the listener has a vested interest in your comments. It can happen when a coach evaluates a player for an all star team or when a parent hears criticism about their child or a talk show radio listener, and many other situations.
People tend to reconfigure what they hear to protect their ego. I believe this is just a part of the human condition. The difference is the extent to which we do it and whether we have awareness of the process.
Blaise Pascal (1623-1662) said, "We are usually convinced more easily by reasons we have found ourselves than by those which have occurred to others."
And Paul Simon wrote in The Boxer, simply "...a man hears what he wants to hear and disregards the rest."