Stochastically-induced dynamics of earthquakes