If someone trusts you enough or, simply happens to be in the awkward situation where there is nothing to do but share a story that includes violence and abuse, simply say, “I’m so sorry.”
Period.
That’s all.
Do NOT say . . .
“But, he looked so nice in the pictures. You seemed so in love.”
Do NOT ask. . .
“Why?”
“What did you do to deserve it?”