And the serpent getting Eve to eat the apple by making her feel blame against God for not creating her with Godlike knowledge.   Remember, this is allegory, not history.  The knowledge of good and evil is the knowledge of evil by others, like God going evil by not making them godlike.  Eve had knowledge of what evil was under a disobedience meme since eating the apple was said to be evil.