Why Is Research In Astronomy Considered Science But Studying Astrology Regarded

Why is research in astronomy considered science, but studying astrology regarded as pseudoscience?