A baby's genetics can affect its temperament. Sometimes a baby will be well-tempered, they will eat, sleep, and play like a normal baby this will make them loving toward their caregiver and form a better attachment. On the other hand If if the child has a bad temper they will not sleep on time have difficulty eating and will become extremely irritable towards anyone. This will make it hard for it to form an attachment toward the caregiver due to the irritability.
Many Americans of the time viewed the vices as executed by those by poor backgrounds and especially the blacks and Mexicans. The views however improved marginally in the 19c.