Heavenly Father told Adam and Eve that if they ate some fruit from one of the trees, they would have to leave Eden. Satan tempted Eve to eat the fruit, and she did. So did Adam.