Examples of using "なぜそうしたんですか。" in a sentence and their english translations:
What did you do that for?
- What did you do that for?
- Why did you do that?
- Why did you do this?
- What did you do it for?
- Why did you do what you did?
- Why did you just do that?