Why did god let the Holocaust happen?

I can't think of any good reasons for why a loving and all-powerful being would allow this.