When an older dog starts wandering aimlessly, forgetting routines, or seeming unsettled at night, it can be a sign of do