单项选择题

The accident occurred________.

A.because of overcrowding
B.because of the careless driving
C.when the bus descended a sharp slope
D.when the bus swerved to avoid another bus