Words can be both a pain and a comfort depending on what's said and when it's said, and that's not even getting into nuances like tone or inflection.
Sometimes, though, we're left at an utter loss for words. We don't have the opportunity to help or hinder, all we can do is stare at what's before us, feel our heart drop for the other person while also being grateful it's not us in that scenario. In times like that, all you can really say is 'uh oh'.