My girlfriend makes me feel insecure sometimes.. Am I overreacting?

I feel like your girlfriend is supposed to make you feel like the best guy in the world. But sometimes my girlfriend makes me feel like shit. When we first started our relationship she said "I'm more in love with your personality than your looks;) if we were only talking about looks I wouldn't be talking to you right now" that text made me feel like shit. I feel like she was maybe being sarcastic but it really hurt my feelings. I tried to act confident by saying "haha well i think I'm sexy" but of course deep down it hurt. Part of me also thinks that she was testing me to see if I responded in a confident way, which I did. She doesn't make sense because sometimes she'll tell me stuff like "you looked hot today😍" or she'll tell me I look sexy in a picture. She said one time that I'm kinda cute, and can be hot "sometimes". She also went out of her way to send me a screenshot of her texting one of her friends saying she's "seen better" but is totally in love with my personality. She just has to rub it in I guess. The thing that bugs me is that I always tell her how pretty she is and always make her feel good about herself. I'm confident in my looks and think I'm attractive but she just confuses me and contradicts herself all the time with her statements about my attractiveness.

She also comments on other guys being hot. When I've hung out with her and her girlfriends in the past she'd always comment on other guys looks right in front of me. Or she'll tell me how sexy she thinks a celebrity is and rubs it in my face. She'll say "ohh he's walking sex" it really makes me mad! I wonder if this is all just a test or if she really is just rude and disrespectful to me. Not to mention she has almost no self esteem or confidence in herself and thinks she's absolutely hideous and ugly no matter how many times I tell her she's pretty. Other guys have called her ugly which isn't true. Maybe she's just taking everything out on me. Am I just overreacting to something stupid?
My girlfriend makes me feel insecure sometimes.. Am I overreacting?
Post Opinion