I need advice

Why does my boyfriend or ex now constantly change feelings for me? We dated for two years then he broke up with me because he didn’t love me anymore. Five months later he texted me and said he missed me we talked as friends and as more than friends on and off because he kept changing his mind about me then about two days ago we started dating. He seemed way different he told me he loved me and he was very sweet, he hadn’t since we dated about eight months ago. Now he just broke up with me and said he doesn’t think he really loved me and was confused and wants to be just friends. I can assure you there’s no one else. He still wants a physical relationship as well. He just is horrible and I wish I didn’t let him back in but I can’t stop talking to him because it makes it hurt even more