Past Continuous Interrogative
The past continuous (or progressive) is the tense used to express situations that take place in the past and were in progress at any moment during a period of time. When expressed in its interrogative form, it is used to make questions about things that were happening in a past period of time. https://open.books4languages.com/english-a2-grammar/chapter/past-continuous-interrogative/