Giving out a compliment?

Everybody like to hear a compliment from time to time. If I walk past a person that's looking quite beautiful. Is it wrong for me to say something to them. Some people take it as a positive and And some people take it negative, why?

Giving out a compliment?
Post Opinion