单项选择题

When snow collects on top of a building during the winter, the weight sometimes weakens the construction and occasionally causes the roof to collapse.

A.melts
B.accumulates
C.selects
D.scatters