The Vedas give information on various subjects. They have come together and form one book. And in later times, when other subjects were separated from religion - when astronomy and astrology were taken out of religion - these subjects, being connected with the Vedas and being ancient, were considered very holy.
Swami Vivekananda (2015). “The Complete Works of Swami Vivekananda”, p.4503, Manonmani Publishers