"Rav Judah taught in the name of Rav that because, as reports, the Torah is not in Heaven, God was not able to answer Joshua's questions about the law.Rav Judah reported in the name of Rav that when Moses was dying, he invited Joshua to ask him about any doubts that Joshua might have.