Looking at something has an effect on ones mind and that in turn can have a physical effect on ones baby. This even applies to animals . The gemara in Avoda Zara 24a explains that they would bring a cup of red wine in front of the para(heifer) in order that it will see it and its baby will be a parah adumah.
With regards to people , the gemara in gitten ...
בבא בתרא יז א
תנו רבנן ארבעה מתו בעטיו של נחש ואלו הן בנימין בן יעקב ועמרם אבי משה
וישי אבי דוד וכלאב בן דוד
Our Rabbies thought, four died because of the snake (the ancient cures of death, that was set upon humanity, and not because of sins) Benyamin son of Yaakov, Amram father of Moshe, Yishai father of David and Kilav son of David.