The research is pretty clear that the biggest risk factor for an injury is a past injury.
Pain and injury can trigger off protective mechanisms that can sometimes be tricky to identify and overcome.
For many runners returning from an injury, a common theme is to run within yourself, intuitively trying to protect the body from further injury.