The sin nature was inherited by humanity from Adam. The tendency to sin was within Adam and Eve as shown in the Fall. We really cannot go much beyond that. Rationally and logically, they had absolutely no compelling reason to disobey God. The Garden of Eden was literally a Paradise and they lacked absolutely nothing.