The load bearing masonry is very brittle material. Due to different kinds of stresses such as shear, tension, torsion, etc., caused by the earthquakes, the conventional unreinforced brick masonry collapses instantly during the unpredictable and sudden earthquakes!
The RCC framed structures are slender, when compared to shear wall concept of box like three-dimensional structures. Though it is possible to design the earthquake resistant RCC frame, it requires extraordinary skills at design, detailing and construction levels, which can not be anticipated in all construction projects!
On the other hand even moderately designed shear wall structures not only more stable, but also comparatively quite ductile. In safety terms it means that, during very severe earthquakes they will not suddenly collapse causing death of people. They give enough indicative warnings such as widening structural cracks, yielding rods, etc., offering most precious moments for people to run out off structures, before they totally collapse.