Form and rules
How it works
Form the past continuous with was/were + verb-ing.
Use it for an action already in progress at a past moment: At eight, I was studying.
Use the past simple for the shorter completed event: The phone rang.
When often introduces the shorter event; while often introduces the longer background action.
Two past-continuous forms can describe actions happening at the same time.