Arthritis is one from the leading causes of quite obvious and immobility among dogs.
The damage was basically caused by use and mistreatment. The warmth, as discussed above helps the joints to feel better and the water supports one's body. https://sites.google.com/view/muscle-and--joint-care/home