I’m sure I read a scripture that called humans and animals alike “souls”. When I told that to my friend that lost her dog, that comforted her more than anything.
The creation account refers to human souls and animal spirits with the same Hebrew word. Take it for whatever it’s worth.