A 5.7-magnitude earthquake struck near Pahala on Hawaii's Big Island hours before a 4.7 quake hit Malibu, according to the U.S. Geological Survey.