Ah, but suppose you run into an old friend who you know has been undergoing some severe circumstances, say a beloved sister has just died. You may well say, as an opening line, "How are you doing?" with a tone of voice that makes it clear that this isn't just a pleasantry. Dunno if there is a single word for this but I would say it is an example of showing concern.