oldster Dogs age just like humans...they become senile and do odd things. I doubt she is even knows what she is doing at times.
If the vet has checked her out..teeth etc and there is no pain causing her behavior problems, then all you can do is be patient with her. Arterie harden and there is a lack of oxegen to the brain as with people...makes for some strange behavior changes as we age.
Best wishes |