Amitabha Buddha certainly remembered that at the time, he simply did not want the Buddha Spirit Path Trace to fall into the hands of Tathagata Buddha. It just so happened that Sun Wukong had accidentally activated a small spatial passage between the Sukhavati Realm and the outside world, so Amitabha Buddha decided to give it a try, adopting a desperate measure, and passed the Buddha Spirit Path Trace to Sun Wukong.
Honestly speaking, Amitabha Buddha never really expected Sun Wukong to one day actually take revenge on his behalf, nor did he imagine Sun Wukong could rescue him. After all, this was the Western Heaven Spiritual Mountain's Sukhavati Realm, the very foundation of the Buddhist Sect, a small world where it would be extremely difficult to deceive Tathagata Buddha and sneak in to rescue someone.
Unless Sun Wukong also reached the cultivation strength similar to that of Tathagata Buddha!