Not feeling that sexual drive lately

So my boyfriend said today that I’ve changed since we started dating two years ago. I used to constantly want to have sex and was always in the mood. Fast forward to now... I don’t really feel the urges to have sex as often. I think it’s possible that we’ve gained a little weight and I don’t feel sexy anymore. It’s hard for me to say too but I just might not be attracted to him like i used to.... is this possible? How to bring up weight without hurting his feelings? I still am very much in love with this man, I just don’t feel the urge to have sex... is there something wrong with me?