1. There are many underlying causes of earthquake like disequilibrium in any part of earth crust, volcanic eruption and faulting.
2. Generally most earthquakes occur at the boundaries of the earth tectonic plates, it happens when two plates or blocks of the earth either suddenly slip past one another or move away from each other due to the forces coming from beneath the earth called endogentic forces.