Which is a result of boundary plates colliding or sliding past each other?

A. volcanoes erupt
B. earthquakes occur
C. mountains form
D. valleys form

B. earthquakes occur