If the dog is a larger breed, like a lab, 12 years is quite old. A smaller breed, not so much.

The owner should have the vet check out the dog. Do you have any feeling of whether the owner does this, or would be willing to?

It "could" be age, arthritis, combination of those, no real way to tell.