My ex is confusing me?

We broke up because he didn't know what he wanted a month ago. We stayed friends afterwards. We slept together and agreed to stop after the second time since friends don't do that and it made things confusing. It happened a few times again after that. We aren't anymore but over the last week my ex has been more attentive via text (just constantly telling me what he's doing and being kind, though he is a really sensitive/kind person so there is that) and when we've hung out we ended up cuddling. He calls me dear all the time and got jealous when I told him about a guy helping me carry stuff (just asked me a lot of questions that you normally wouldn't ask). Not sure what to take from it? I want to date again eventually but think that staying 'friends' might be the best course of action for the time being. He has had a bad experiences in the past and I told him if always be there for him. I meant it and he says the same things to me in that aspect.
My ex is confusing me?
Add Opinion