A 5.2 magnitude earthquake hit Southern California just outside San Diego on Monday, and people received text alerts on their phones mere seconds before the quake occurred.