Having uncaring spouse must be hard. My first husband was not particularly emphatic but that was long time ago.
If leaving isn’t an option, then I think it’s time to stop expecting anything from him. Look for other people to share with. I’d not base my self esteem on a spouse especially indifferent one