Alan Wake vs Alone in the Dark: Same game, different quality

These two tales of horror are nearly identical. So how did one end up so good, and the other so bad?

But crazier still, even some of the specific sequences from each game are reminiscent of one another. Like in the video below, where you have you a dude, with a flashlight and a gun, trying to make sure to stay in the spotlight of an overhead helicopter so as not to get engulfed by the darkness. Quite a coincidence.