Why does God allow wars, sickness and tragedies?

This is a problem which crosses the minds of many of us as soon as we begin to think about God. "If He is a God of love (as Christians say), why does He allow such things as the gas chambers and disabled babies?"