Factors contributing to earthquakes' occurrence