Earthquakes are not a feature in the game.
The closest thing to an earthquake in the game would be the "Ground Shake" attack which is learned by certain Ground-type Pokemon like Diglett and Dugtrio. This attack causes tremors that can shake the ground and affect enemies around the user.
If you are thinking of a specific event or situation in the game that feels like an earthquake, please provide more context so I can assist you further.