Look, some people are just scared to commit.
They like the idea of a relationship, and for a bit it makes. Them happy and its genuinely what they want ( to be with someone) but after a bit, they just don’t want that anymore, its like a switch goes off and your just an inconvenience in their lives. It’s nothing you’ve done or said, its just them and the sort of person they are.
Give it a few months and they’ve come round again and it starts over. You have to think about whether you want to put up with the shitty bits to enjoy the good bits. I found the whole hot/cold thing a bit hard, and the only way I finally dealt with it was to remove that person from my life. Lynx an all….