The correct answer is - geologist.
The main interest of study of the geologists is the interior of the Earth, the processes that happen there, the causes of the processes, the evolution of the same etc. Specifically, for the studying of the earthquakes, there is a special branch in geology, seismology. Since the earthquakes are forming deep inside the Earth's crust, it is in the domain of geology, or rather seismology.