Examples of using "なんでこんなことしたの?" in a sentence and their german translations:
Warum hast du das getan?