At least EVE had an excuse: she didn't hear from GOD directly to not EAT of the fruit in the middle of the garden.
Thus, when the Doubter came along...
(I've no clue where she came up with '...and do not touch it.")
Re: ... and do not touch it.
Well, since she didn’t hear it from God directly, the options are that Adam told her or she made it up herself.