A magnitude 7.8 earthquake struck South Cotabato, killing two people and causing significant damage.