Necrophobia is the irrational fear of corpses, not just those of people but animals as well. Also included in this fear are the people, objects and ceremonies associated with death such as undertakers, morticians, coffins, tombstones, cemeteries and funerals. In a another way necrophobia could also be used to mean a fear of the dead by a cultural group, that their spirits will return to haunt the living, causing them harm in some way.
In some cultures necrophobia would be totally alien as the dead are welcome among the living.