Convection currents in the earth's mantle cause the movement of tectonic plates. Faults form at the boundaries of these plates where the rocks are weak. When stress builds up along fault lines from the movement of plates, it causes the faults to slip suddenly and generate earthquakes. There are three main types of faults - normal, reverse, and strike-slip - which move in different ways due to tensional, compressional, or shear stresses. Active faults have generated earthquakes within the last 10,000 years and may continue to do so, while inactive faults have not produced quakes recently but could still be capable of generating future seismic activity.