The ghosts chase Pac-Man because they were programmed that way. The game's designers built their behavior to pursue him, creating the core challenge that makes the game entertaining for players.