Factors influencing earthquake occurrence