Don't forget that Joseph, being a carpenter, would also have traveled to where the work was. The Roman authorities at that time were doing all sorts of construction projects for themselves, including palaces for themselves, etc. So, Joseph would not have been short of work. Also, who is to say what God has arranged for whatever purpose. If a star (bright light in the night) was to move around - why not?