Curious as to whether cats can sense pregnancy?

Chloe
At the beginning of my pregnancy when I found out my cat wouldn't come near me but over the past few weeks he's been all over me. This morning he was laid next to me kneading me. Is it possible for cats or any other animals sensing pregnancy