The Talmud (Berachot 54a) tells us that whoever witnesses an earthquake—as well as a number of other natural phenomena in which G‑d's awesome power is apparent—should immediately say either one of the following two blessings:

Baruch Atta Ado-noy Elo-hai-nu Melech ha'olam osei ma'asei vereisheet.
בָּרוּךְ אַתָּה ה' אֱ-לֹהֵינוּ מֶלֶךְ הָעוֹלָם עוֹשֶׂה מַעֲשֵׂה בְרֵאשִׁית
translation: Blessed are You, L‑rd our G‑d, King of the universe, who reenacts the works of creation.

Baruch Atta Ado-noy Elo-hai-nu Melech ha'olam shekocho ugevurato malei olam.
בָּרוּךְ אַתָּה ה' אֱ-לֹהֵינוּ מֶלֶךְ הָעוֹלָם שֶׁכֹּחוֹ וּגְבוּרָתוֹ מָלֵא עוֹלָם
translation: Blessed are You, L‑rd our G‑d, King of the universe, whose power and might fill the world.

This helps bring into focus how the forces of nature are all truly from G‑d and expressions of His majesty.