Question: what to say to someone who has lost someone unexpectedly?
Answer: This is such a tragedy. I can't imagine how you must be feeling. I'm so sorry you're going through this.
I can't believe Sam is gone. You must be devastated. I just wanted to say that I'm here for you.
I'm thinking of you. This is so unexpected and so sad.