Here's why:
* The Earth's crust is in constant motion: The tectonic plates that make up the Earth's crust are constantly moving, driven by heat and pressure from the Earth's interior.
* Friction: When plates try to slide past each other, friction occurs at the boundary. This friction acts as a resistance to the movement.
* Stress Accumulation: As the plates continue to move, the friction prevents them from sliding smoothly. This causes a buildup of stress along the boundary.
This stress eventually becomes too great and the plates rupture, releasing the built-up energy in the form of an earthquake.
Let me know if you'd like to learn more about the different types of plate boundaries or the process of earthquakes!