I’ve always believed that animals are generally smarter than we tend to give them credit for. What they lack in higher cognitive abilities, they can often make up for in their primitive senses, which are far superior to those of humans.
I learned LONG ago to never underestimate the intelligence of an “animal.” The four-legged kind seem, at times, to have One-Upsmanship. And they do it subtly, and with grace. And they always forgive us for our ignorance and stupidity.