The trigger of Defy Danger (in the SRD, I don’t have a copy of the book in front of me) is
When you act despite an imminent threat or suffer a calamity…
So I’d say that’s sufficiently-broad to apply to abstract threats (so long as they are imminent) or emotional/social calamities.