Relationships

Does it make okay if I want to ask my ex of 4 years how he’s doing? Or will it make things worse if he’s trying to move on. I don’t expect anything to happen but I do still care about him in some way. Help