why did eru create melkor?
He created the Ainur and gave them the free will to choose good or evil. Melkor and the spirits that became his demons (balrogs, werewolves, vampires, etc.) chose evil, while the Valar and their servants chose good and Eru. Melkor was part of the song but desired creation of his own.