When Frodo speaks the words to light up the light of Eärendil it seemed strange that he knew exactly what to say even though he had never used the phial before, and then Frodo and Sam see a star in Mordor where it is a barren wasteland.
I think Varda made a star visible to them for hope. Did she help Frodo and Sam?