Can dogs and cats sense you are pregnant

My dog has become more protective over me .. and she used to lay on my legs but now she goes on my stomach

And my kitten does not like to be touched or carried but her behavior towards me is different now she even Laid on me ( she normally goes straight to her high bed )

Did anyone have their pets become more attached to you when you became pregnant?