Why he's doing this?

We were flirting for almost a month, but the last time I saw him, he told me he'd just gotten out of a really bad relationship and wasn't ready for anything serious right now. However, he still wanted to spend time with me and keep in touch. After he turned me down, he started asking me questions like, 'How are you doing?' and 'Are you okay?' He even suggested we do things together. And by the way when I mentioned I was going to a cafe with a friend, he responded coldly. I don't understand what he's thinking.
Why he's doing this?
Post Opinion