Ladies is this wrong?!?

So is this wrong if your with a guy and he message a girl saying “ you look pretty today” “ you look good in that outfit” is that flirting ? He said it isn’t .