How'd they KNOW this stuff?
Romans tells us that all creation is evidence of God. The wise men noticed the signs in creation. What is interesting is few others observed the sign.
One could also say that perhaps God revealed the star to the wise men and no one else. It was, after all, the gifts of the wise men that help Joseph to finance the flight to Egypt some believe.