It does not make any difference what motivated or prompted it. In God's eyes, sin, or disobedience to Him, is never acceptable. God forgave Adam and Eve, and He even gave them the hope of the coming Messiah, Jesus Christ. But He held them responsible for their sin in that He treated them as free moral agents who each made the personal choice to disobey Him. Therefore, they each needed to be forgiven and restored to fellowship with Him.
Sin is shame and guilt-inducing.
Adam and Eve ran to hide when they heard God walking in the garden in the cool of the day. Instinctively, they knew they were wrong, and the fears of exposure, failure, and change seemed too much to bear. Because these fears are so large and ominous, it feels less painful to live with a false sense of blamelessness rather than own up to the truth. Blaming others encourages you to sin more. Often, the process of rationalizing sin leads to a weakened view of the sin.