单项选择题

The storm ______, they had to live in a cave.

A.has destroyed their hut
B.to destroy their hut
C.having destroyed their hut
D.being destroyed