He complimented my hair and he had a gf… too personal?

This guy I’m friendly with at the gym asked if I did something different to my hair bec it was straight and last time it was wavy. Anyways I’m surprised he noticed but he said “it’s nice.” He has a girlfriend. Is he being too much?
He complimented my hair and he had a gf… too personal?
Post Opinion