Wh- questions are questions that require more information in their answers. Typical wh- words are what, where, when, which, why, who, and how.
To create a wh-question, start with the Wh-word, then was or were (wasn’t or weren’t for a negative question), then the subject (a person or thing that does the action), followed by the ing (participle) form of the verb and only then add the rest of the sentence.