A magnitude 5.0 earthquake struck roughly 24 miles southeast of Miami, Texas, in the state's Panhandle region at 5:21 a.m. local time Thursday.