Children who have not yet learned to speak listen to their mothers,fathers,brother,and sister talk to them early exposure introduces the child to the sounds of their language.
This is when the begin to acquire their regional accent.
We are all amazed at how little American babies sound American, while little English babies speak with a British accent.