一句英语选择题,求详细解答
Allflights______becauseoftheterribleweather,theyhadtogotherebytrain.
A.havingbeencanceledC.havingcanceled
B.hadbeencanceledD.werecanceled