They can see spirits, or maybe he can smell death nearby.
My dog is acting strange tonight, he keeps jumping up and looking round at his sides. He seems very unhappy and uncomfortable. His working and vaccs are all up to date. What could it be?
Could be just about anything from an itch he can't reach to a pain he can't relieve by moving to a different position.
I think he is seeing a ghost.