Having an repulsion for shit is a healthy adaptation. But it seems that for some people they're much more sensitive.
Similarly, it's probably useful for a primitive person to vomit on sight of a familiar person vomiting, collective protection. Definitely a trait to find out before going to space!