Does anyone else feel more attractive when they are not around their boyfriend/partner?

Every time I am around my boyfriend I feel less attractive. I feel so unsexy, undesirable, and insecure. It’s really not that they are hotter than me, it’s that when I am in their presence I feel so less than. I still put in the attempt to look good and I know I look good, but without fail, I feel so unattractive around him regardless if I touch up or not (it was not always like this). Anytime I go out by myself or with my friends, I feel so much more attractive. I get hit on and I just feel a lot more happier. I feel I’m not appreciated enough, idk. I really hate this feeling. I truly no longer want to be sexually intimate with him because of this. Does anyone else ever feel this way? Please let me know I am not alone in this feeling.