Awareness of this phenomenon was probably important in ancient times. Without a scientific understanding of genetics or science, certain groups would develop a spiritual belief system to explain it, shun certain outsiders, etc. People who broke this tabu would be shunned and condemned.