The correct answer is animism.
According to Jean Piaget's theory of the stages of cognitive development, children up to age five (preoperational cognitive development) believe that inanimate objects such as soft toys or dolls are capable of and have intentions and feelings. This is why Cody believes that his stuffed animal will be sad if he leaves it at home when he goes for to the grocery store with his dad.