وَٱلْقَمَرَ قَدَّرْنَـٰهُ مَنَازِلَ حَتَّىٰ عَادَ كَٱلْعُرْجُونِ ٱلْقَدِيمِ
And the moon - We have determined for it phases, until it returns [appearing] like the old date stalk.
Ya-Sin
وَٱلْقَمَرَ قَدَّرْنَـٰهُ مَنَازِلَ حَتَّىٰ عَادَ كَٱلْعُرْجُونِ ٱلْقَدِيمِ
And the moon - We have determined for it phases, until it returns [appearing] like the old date stalk.
Nearby ayahs help place verse 36:39 in sequence and meaning.
وَءَايَةٌ لَّهُمُ ٱلَّيْلُ نَسْلَخُ مِنْهُ ٱلنَّهَارَ فَإِذَا هُم مُّظْلِمُونَ
And a sign for them is the night. We remove from it [the light of] day, so they are [left] in darkness.
وَٱلشَّمْسُ تَجْرِى لِمُسْتَقَرٍّ لَّهَا ۚ ذَٰلِكَ تَقْدِيرُ ٱلْعَزِيزِ ٱلْعَلِيمِ
And the sun runs [on course] toward its stopping point. That is the determination of the Exalted in Might, the Knowing.
لَا ٱلشَّمْسُ يَنۢبَغِى لَهَآ أَن تُدْرِكَ ٱلْقَمَرَ وَلَا ٱلَّيْلُ سَابِقُ ٱلنَّهَارِ ۚ وَكُلٌّ فِى فَلَكٍ يَسْبَحُونَ
It is not allowable for the sun to reach the moon, nor does the night overtake the day, but each, in an orbit, is swimming.
وَءَايَةٌ لَّهُمْ أَنَّا حَمَلْنَا ذُرِّيَّتَهُمْ فِى ٱلْفُلْكِ ٱلْمَشْحُونِ
And a sign for them is that We carried their forefathers in a laden ship.