Understanding rate effects in injection-induced earthquakes