Implying the apple is the forbidden fruit from the book of Genesis is a common misconception. The apple is just a modern day fruit adapted by generations of farming for the sake of larger produce.
Its like Eve knew what she's doing there. She asked herself and did the first self discussion before a god decided that something like that can exist lol