"According to Dr. James G. Hamilton, author of the pioneering paper on needle phobia, it is likely that the form of needle phobia that is genetic has some basis in evolution, given that thousands of years ago humans who meticulously avoided stab wounds and other incidences of pierced flesh would have a greater chance of survival."
Scan the site, it's interesting: en.wikipedia.org/wiki/Fear_of_needles