My girlfriends tell me this all the time. Honestly, I'm tired of it, it does not do much for me. I like to be shown affection in other ways like: buy me my favorite chips, massage my back, or try something new with sex. Everyone has their own "language of love", so learn what your partner's language is, and do things for them that they understand and need.
When a non-girlfriend says this, it means they will never ever want to date me. Hence they get ignored.
I have a long time interest in psychology, specializing in relationship dynamics for 30 years.
(Please note, we give the best advice we can based on the information given in a post. For better advice, please include the age of all romantic partners.)