”And indeed We have adorned the nearest heaven with lamps”, this refers to the stars which have been placed in the heavens, some moving, some stationary. In Allah’s statement, ”and We have made them (as) missiles to drive away the Shayatin”. The pronoun ”them” in His statement, ”and We have made them” is the same type of statement as the stars being referred to as lamps. This does not mean that they are actually missiles, because the stars in the sky are not thrown. Rather, it is the meteors beneath them that are thrown and they are taken from the stars. And Allah knows best.
Culled from Tafsir bn Kathir.