单项选择题

When I knocked at the door, my mother ______.

A.cooked
B.was cooking
C.cook