The immediate cause of most shallow earthquakes is the sudden release of stress along a fault, or fracture in the earth's crust, resulting in movement of the opposing blocks of rock past one another. These movements cause vibrations to pass through and around the earth in wave form, just as ripples are generated when a pebble is dropped into water. When earthquake intensity we discussed some of the basic factors that affect the amplitude and duration of shaking produced by an earthquake and as you are aware, the shaking caused by seismic waves can cause damage buildings or cause buildings to collapse. The level of damage done to a structure depends on the amplitude and the duration of shaking. The amplitudes are largest close to large earthquakes and the duration generally increases with the size of the earthquake (larger quakes shake longer because they rupture larger areas).