What does Aber warum hast du es getan? mean?

Aber warum hast du es getan? - German to English

however why did you do so?