"Are there references to astronomy in the Bible and if so why would an astronomer consider writing a commentary on it"?
Basically because commentators generally speaking are not astronomers, they tend to either pass over the astronomical allusions of Scripture in silence, or else annotate them in such a way which, that from a scientific point of view, leaves a lot to be desired.
Astronomical allusions in the Bible, direct and indirect, are not few in number, and, in order to bring out their full significance, need to be treated astronomically.
Astronomy further gives us the power of placing ourselves to some degree in the position of the patriarchs and prophets of old. We know that the same Sun and Moon, stars and planets, shine upon us as shone upon Abraham and Moses, David and Isaiah. We can, if we will, see the unchanging heavens with their eyes, and understand their attitude towards them.
Astronomy In The Bible References...
Genesis 1:14 And God said, Let there be lights in the firmament of the heaven to divide the day from the night; and let them be for signs, and for seasons, and for days, and years
Job 9:9 Which maketh Arcturus, Orion, and Pleiades, and the chambers of the south.
Job 26:7 He stretcheth out the north over the empty place, and hangeth the earth upon nothing
Job 38:31 Canst thou bind the sweet influences of Pleiades, or loose the bands of Orion?
Job 38:32 Canst thou bring forth Mazzaroth in his season? or canst thou guide Arcturus with his sons? ((the 12 signs of the Zodiac and their 36 associated constellations)
1 Corinthians 15:41 There is one glory of the sun, and another glory of the moon, and another glory of the stars: for one star differeth from another star in glory.
Amos 5:8 [Seek him] that maketh the seven stars and Orion, and turneth the shadow of death into the morning, and maketh the day dark with night: that calleth for the waters of the sea, and poureth them out upon the face of the earth: The LORD [is] his name:
If you would like to check out these and other references you can do it online at the " Blue Letter Bible". Alternatively books are available on Amazon such as the The astronomy of the Bible. an elementary commentary on the astronomical references of Holy Scripture.