Most of our programming comes from our parents, especially our mother. If our mother had negative emotions, or some sort of mental disorder, the baby gets programmed like that in the womb. The mother is making the software (samskara) of the baby. That is why the mother is called the first Guru.