There are certain things we say that just make us feel good in bad situations or make others feel good. They are more social conventions and mean nothing.

it's like when someone dies say flying an airplane and we say well, he died doing something he likes. Like that makes it OK and we think well they guy probably doesn't regret dying. it makes us feel good but means nothing. Similar is when you meet someone and they say how are you? Do you think they really give a rats behind how you feel. We always say "OK" even though we may not be. The next time some says that to you just say "I'm not doing too well" and see their reaction.