look - i am old, so do what you want with my thoughts on this.
i have a few significant exes. i keep in touch with all of them. sometimes it’s just a birthday or xmas greeting, other times it’s a “hey! who was that guy with the dumb hair that smoked too much?” we grew apart, but at one point we had a bond. but what also happened is that we matured. (and they also met wonderful mature new partners).
anyway - the point is that you can still care for someone you’re no longer dating, and (for the most part), there’s always a place in your heart that your exes will occupy, and you can still care about them, even if you aren’t in love with them any more. it’s what makes us human. you’re wonderful for having this caring feeling for him.
tell him the words of reassurance. he needs it right now. let him be dismissive, but he NEEDS words of reassurance, and tell him to seek some guidance from somewhere; perhaps professionally.
this comes with a caveat - don’t let this situation be used to convince you that you should get back together, if that’s not what you want, and be sure to assert your belief in this matter.
best of luck to you, and also to him!