Dr. Sykes was studying shallow earthquakes that occurred along midocean ridges , and Dr. Oliver , along with Bryan Isacks , another Lamont scientist , were exploring deep earthquakes near Fuji and Tonga in the South Pacific .