If a male coworker called me good looking & sexy does that mean he’s flirting?

He said he thought I was good looking and said I looked sexy in a pic but then after that he’s avoided me for the last few weeks, when before that we would talk almost everyday. Confusing. He’s 45 and I’m 30.
If a male coworker called me good looking & sexy does that mean he’s flirting?
Post Opinion