“God,” who supposedly created all aspects about humans, their nature and the world and already knew in advance everything that would happen including humans eating from the tree of knowledge: and who’s fault is that?
It’s like writing a bad computer program and then being mad at it when it crashes.