Why does it often feel like those who are dying of physical health issues are amongst the kindest people

These are some of the people I've loved the most.
I can love, I do love and I will love.
PS if I was told by a competent doctor in "real" life I only had a year to live I personally would be very happy.