We use questions with the past continuous to ask about things that were happening at a specific moment in the past.
Wh + verb be in past + subject + verb ing + complement + ?
What were you doing when you cut yourself?
Where were you running when you sprained your ankle?
THANKS!