What is the main cause of an earthquake?

force of gravity
the shaking of the ground
stress caused by plate movement
waves that ripple from the epicenter