Doctors used to prescribe rest as the best treatment for many health problems. However, evidence now shows that exercise is better, helping to build and maintain physical functions instead of rest.
Sports medicine arose from this conflict of advice. Serious athletes knew that if they rested for as long as the doctor prescribed, they would loose aerobic capacity and muscle mass. Then they were out of shape to compete for the rest of the season. Sports doctors began looking for ways to get serious competitors back in the game sooner, and back to training even before that.
Very soon it became evident that athletes who kept exercising had less pain, less muscle loss, and accelerated healing rates. The world of medical professionals took notice, and started prescribing treatments like walking for osteoarthritis in the hip or knee.