In senior dogs, pacing around restlessly could be a sign of mental illness. It could also be a sign of discomfort as their old bodies are failing them.