Earthquakes along the Pacific coast of the United States are overwhelmingly caused by the interaction between the Pacific Plate and the North American Plate. This boundary runs from the Gulf of California up through California, Oregon, Washington, and into Alaska.
In California, the boundary is primarily a transform fault where the Pacific Plate slides northwest relative to the North American Plate at ~5 cm/year. The San Andreas Fault is the master strand, but a network of parallel faults (Hayward, Calaveras, San Jacinto, etc.) distributes the strain. Friction locks the fault surfaces; when stress overcomes friction, the rocks snap, releasing seismic waves.
Offshore Oregon, Washington, and northern California, the oceanic Juan de Fuca Plate (a remnant of the Pacific Plate) subducts beneath the continental North American Plate. This Cascadia Subduction Zone is locked, accumulating strain for a potential magnitude 9+ megathrust earthquake, similar to the 1700 event that sent a tsunami to Japan.
Earthquake size and frequency vary widely:
Correction: The 1960 Valdivia earthquake (M9.5) occurred in Chile, not the U.S. Pacific coast. The largest U.S. quake was the 1964 Great Alaska Earthquake (M9.2).
Understanding these mechanisms drives building codes, early-warning systems (ShakeAlert), and community preparedness along the entire coast.