Bad motor > dead esc, not the other way in 99% of cases I've seen around here. Seems more like you may have gotten something nasty inside your motor, that caused a shorted phase > cooked esc. Running in gravel you say? With a motor that has lots of holes in both ends?... (Im a bastard, but at least I try to be humerous at the same time....

).