Presumably becase it was all part of God's great plan, which we as mere humans cannot hope to comprehend?
Or maybe because God endowed us with free will, and people choose to be evil?
Or maybe these two points are one and the same?
__________________
|