Here is the real problem. Eve ate the apple, so did Adam. How come neither of them lived forever ?
I think the whole story is about ‘man’ choosing what he ‘wants’ over what he ‘needs’(that which God gives us). Eve used her ‘free will’ to disobey God. Lucifer ‘opened’ her eyes to a new world where she could ‘do as she pleased’. She apparently wasn’t aware of it until then. God wasn’t pleased.
Because they didn't eat from the Tree of Life. That's a different tree from the Tree of the Knowledge of Good and Evil.
And that's why God kicked them out of the garden and blocked the way to the Tree of Life with an angel with a flaming sword, so they wouldn't eat of the Tree of Life and live forever in a sinful state.