The past simple is for a finished past action, and the past continuous is for an action that was in progress. We often use them together to show that a short action interrupted a longer action.