Ignoring someone?

I feel like he’s not putting in as much effort as he used to, we’re not dating but we do talk every day. Lately things feel a little off I’m thinking I’m just gonna not text him for a few days and see if he will. Or is that childish? I have told him how I felt, he likes me back but idk lately things feel a little off, I brought it up to him and he said that everything is fine but idk