Given the age of this dog I would guess that it is age realted. Dogs live much longer than their wild relations ever would and do suffer many of the degenerative ailments that affect us. I would give him some space and allow him to sleep where he feels secure as long as the vet checks him out as healthy. Be aware of his behaviour changes and watch for signs of distress or anxiety. (For peace at night keep the bathroom door closed to prevent him getting in the bath.)
It may be an eyesight problem so try not to move too much around - again your vet will be able to tell you more.
(Paddy's long range eyesight is starting to fail and on a long recall I have to jump around waving my arms and keep up the vocal signals - he stops a couple of times on his way to me to reorient himself. It can be pretty funny on a windy day and is part of life that needs adjusting to.)
Bookmarks