Why am I thinking like this?

I've been with my husband for 9 years. Best 9 years ever!

I'm not bored in our relationship, and honestly everything is great! Sex is better than ever and I have nothing to complain about!

I was out with some girl friends and some guy started hitting on me. I didnt flirt back but he kept on trying. Now I feel like I'm longing for that kind of attention! Why am I feeling like this? I'm literally so happy. But it has been a while since anyone other than my husband has talked to me like that. I think it just felt good to know someone else out there thinks I'm attractive (low self esteem here). But i feel like me thinking about it is being shady

to my husband! Ugh. Anyone else ever felt this way?