For action that was ongoing at the time referred to, the past progressive is generally used instead (e.g. I was cooking). The same can apply to states, if temporary (e.g. the ball was lying on the sidewalk), but some stative verbs do not generally use the progressive aspect at all – see Uses of English verb forms § Progressive – and in these cases the simple past is used even for a temporary state: