Why do people say someone is a “good guy” but still reject them?

I hear this way too often from personal and third party experiences, when a girl breaks up with a guy, or when someone gets friend-zoned, that the girl thinks that the guy is the best guy they have ever met. Why say it if you have no intention on keeping on with it?
Why do people say someone is a “good guy” but still reject them?
Post Opinion