I mean Ghosts live in the dark, Dark types should be weak to Ghosts.
>Bad and dark deeds during a lifespan are believed to make the afterlife bitter. So I would associate this belief with the possible reason why ghost types are weak to dark types even after being so similar.
Quoted from DB~Valet.