Examples of using "何が起こったんだろう。" in a sentence and their spanish translations:
Me pregunto qué pasó.
Me pregunto qué le pasó a ella.