Why is he doing this?

beauty👄
Like me and my ex have stayed friends. I knoe bad idea and he keeps telling me he still wants to have sex. I told him I dont because I dont wnna get my hopes up and think well ever get back together. People keep telling me to move on and I know I should but how can I move on when my heart still beats for him...