meaning of Aber warum hast du es getan?

Aber warum hast du es getan? - German to English

however why did you do so?