Why is my manager brushing hair away from my hat for me?

He used to flirt with me in the past but I kind of shut it down when it was happening. He asked if he was being too friendly and I told him yes.
Months go by of just friendly, professional interaction but recently he’s been chatty with me again, standing close to me when talking, then brushes hair off my hat around other managers. Immediately says “just looking out for you.”
Why is my manager brushing hair away from my hat for me?
Post Opinion