A 5.0 earthquake struck Southern California, causing damage as aftershocks continued across the area.