How come Pacman is pronounced Pack-man, but Pacifier is pronounced Pass-i-fier?

Shouldn't it be Packifier?