I think this statement can be interpreted in two ways:
What did you dress up as for Halloween? (What costume did you wear
for Halloween?)Why did you dress up as for Halloween? (Why did you dress up as if
it was Halloween?)If I’m right, is “what” and “why” enough to remove the ambiguity? Or maybe using “like” would be better to remove the ambiguity? (e.g. Why did you dress up like for Halloween?)
Answer
If you really want to maintain that second sentence try a comma:
Why did you dress up, as for Halloween?
A clearer approach would be
Why did you wear your Halloween costume?
Attribution
Source : Link , Question Author : janoChen , Answer Author : James