The Past Continuous describes a longer, ongoing action in the past, while the Past Simple describes a shorter, completed action that happened during or after the longer action.
Example: She was reading a book when he arrived.
(The act of reading was longer, and the arrival was shorter and interrupted or occurred during the reading.)