It(The Tree of the Knowledge of Good and Evil) was off limits and should have realized from that command that it was able to be eaten. Something she saw was the final trigger for her to:It wasn't (probably) an apple.
- Realize the fruit was indeed edible
- See that it was pleasing to the eye
- Desire it for gaining wisdom