Why do some guys come back?

I was talking to this guy like two years ago and it got complicated. We started off casual but then I caught feelings. He claimed he did too but he was hot and cold and I didn’t believe him so I cut him off. Since then we’ll go months, the longest was a year, without talking then he’ll suddenly reach out and we’ll end up seeing each other. Recently, he reached out and we met up. We talked for an hour then he had to run an errand but he came back and we hooked up. He kissed me before I left and said he wanted to see me more consistently. Not going to lie, I’ve been thinking about it since then. I don’t want to think too much into it and get hurt
Why do some guys come back?
Post Opinion