Gen.2:4 ‘This is the account of the heavens and the earth when they were created.‘
This entire chapter is retelling of the narrative given before. It is not difficult to understand why Holy Spirit thought it necessary to take it up.
It is necessary for our close reading how Wisdom and Power of God is manifest in the Scriptures. This is evident in certain emphases placed on sequences of the unfolding of his Will. Holy Spirit thought it necessary to place such emphases for our spiritual instruction. In short this account is for man (2 Ti.3:15-17). God the Son throws light of the divine Will with the active aid of Holy Spirit to equip us for every good work. God the Son is Word; and when he became flesh he testified the Will of his father in his teachings and spoke in mysteries. But he has supplied ample hints as to what to look for and in fulfilling the prophesies he aims to strengthen our trust in his Power and Wisdom. We have to understand the role of miracles as one way of strengthening our faith..
The divine Will is brought to light and being fulfilled fully in keeping with his Intent.