Is he only flirting because of my hair?

So I wore my hair in totally different and out recently and my work boss crush basically hit on me. He never did before that.

Ever since, I haven’t been wearing my hair the new way especially lately yet he’s been saying like playful stuff to me. Nothing sexual or weird. Just curtesy maybe. But I’m confused. For years of working together he never did this stuff. Suddenly he does it BECAUSE OF HAIR? maybe I need to cut my hair off and give it to him if he likes hair so much

Is he only flirting because of my hair?
Post Opinion