Translated Labs
YOU SAID:
What did you do that for?
INTO JAPANESE
あなたは何のためにそれをしましたか?
BACK INTO ENGLISH
what did you do it for
何のためにやったの
That didn't even make that much sense in English.