Telling an atheist that a departed loved one is "in a better place" is not comforting. Telling a skeptic that a departed loved one has a message for them from the beyond is not a welcome tiding.
If you really care for someone and wish to offer solace, think about their perspective before saying whatever flowery thing may come to mind, even if it is something you truly believe. It is uncomfortable at best, trying to think of a polite way to respond to such unpleasantness. At worst, it can be pouring salt on the wound.