Consider the statement you do that in order to turn this into a question in the past tense you must add the auxiliary did to the original statement to form the question why did you do that children learning to speak a language have to construct a grammar from the language that they hear around them.