This is a topic I was planning to research more one day.
My thoughts as of now for some possibilities are this.....
The scriptures say the sun/moon/stars were also made for signs and marking 'times'. In the OT, there are numerous prophecies with specific times, 70 weeks, 1280 days, time times and half a time... Jesus talked about the time of the gentiles, etc.
Is it known where exactly the magi came from? What country? What religion? Israel in Jesus time was from the tribe of Judah I believe....but there were 12 tribes and many had been scattered and many of the teachings could have been scattered as well.
So there may have been a prophecy for the messiah to be born, and the star meant the astrologists saw the time had come. Possibly the location was previously revealed or perhaps something in that prophecy if it existed required the stars to be in a certain alignment marking the time and to be observed from a certain focal point at a certain time which may have mapped and guided to them where to go.