This is largely a debate between the Functionalist and Intentionalists arguments over the Holocaust, and /r/askhistorians actually has a really good podcast series that has an episode that discusses exactly this which should give you a good understanding of the different perspectives. Here's a link.
Hi!
I'm the guy who did the podcst and I also answered a similar question here