单项选择题

Her hair and coat were wet because it ______.

A.would be raining
B.had been raining
C.would have been raining
D.had rained