The fig leaves are funny, btw. Adam and Even realize they're naked and immediately invent sewing. But killing won't be invented for a while yet, so they sew their loincloths out of leaves!
Literalists tend to be humorless about this sort of thing, but I suspect it was intended to be funny, not least of all because, having cursed pretty much everything, God then turns around and clothes them in "garments of skin." Like: "Here, you two look ridiculous in those leafpants."
And then, talking to an unnamed audience, God casually drops that there was also a previously unmentioned tree that would have made them immortal! You can practically see them camera pan to the other tree on that punchline.