Speculation.
How did we learn as infants?
We learn by a combination of:
- innate curiosity,
- innate drives,
- mimicking the people around us.
We do the same as adults at a subconscious level.
Eg: The concept of an anthropomorphic god can be a useful mental device.
Eg: Cat raised by pitbulls. Link.