You are seeing the divine aspect of Rama there, but he is not dealing with it in that way. Yamaraj is coming to give the information. Rama does not say, “I know everything. I know my past, present and future.” At this moment Rama has to behave like an ordinary human being. A messenger is coming to give him the message that he is going to die; his play is over. At that time if Rama does not look at the messenger, then it will not be right.
In Yamaraj’s case, he is putting Rama and Lakshmana on the same footing, although Rama is a little higher. But if Yamaraj realised that Rama knew everything, then there would be no play. Each time Yamaraj addresses Rama, he has to make himself feel that he knows everything and Rama knows nothing. In Yamaraj’s heart he knows that Rama is the Lord and, as such, Rama knows everything. But here in the play, Yamaraj has to make Rama feel that the supreme secret Rama is getting from him.From:Sri Chinmoy,Sri Chinmoy answers, part 31, Agni Press, 2001
Sourced from https://srichinmoylibrary.com/sca_31