My question is maybe an elaboration on this question "How does the tree of life work?:
The Gemmorah says that G-d decides exclusively on a person’s lifespan. But the Torah says that G-d Himself is frightened by the idea that Adam could eat from the tree of life and become immortal.
So says for example Ramban ibid:
רצה הקב"ה שתתקיים גזירתו במיתת האדם ואם יאכל מעץ החיים שנברא לתת לאוכליו חיי עולם תבטל הגזרה או שלא ימות כלל או שלא יבא יומו בעת הנגזר עליו ועל תולדותיו
How this contradiction is resolved?