I’ve spent my life working around animals…first horses and now rescue dogs and cats. I agree with the Church that animals are not capable of rational thought, but from experince I can say they do feel love, fear, pain, stress, and can sometimes have excellent problem solving skills.
One story that has always stuck in my mind was about Koko the Gorilla, who was taught to speak sign langugage. Koko had a kitten, who grew into a cat and eventually died of old age. When her handlers asked Koko where the cat had went, she pointed upwards and signed “sky” to them. So rational thought, no, but I think it’s possible they know more then we give them credit for…and that they might even have a residiual knowledge of the existence of God.