Adam's answer, in the Torah, is evasive: "I was afraid because I was naked." Targum Pseudo-Jonathan on (Genesis 3:10) lets him say more. "The voice of Thy Word heard I in the garden, and I was afraid, because I am naked; and the commandment which Thou didst teach me, I have transgressed; therefore I hid myself from shame."
This is a fuller confession than the Hebrew gives. Adam actually names the transgression. He acknowledges the commandment, he acknowledges the violation, and he names the cause of his hiding — shame, not fear for his life. The Targumist is rescuing Adam from looking like a pure coward. He ran because he was ashamed, and shame, in Jewish thought, is the first motion of teshuvah. It is not repentance yet, but it is the raw material from which repentance is made.