They were seen as a threat because they went against the teachings of the Church. The new idea was that the Earth revolved around the sun instead of the sun and the whole universe revolving around the Earth
The discoveries of astronomer like Galileo seen as radical and a threat to the church authority as it challenged their teachings and believes.
Therefore we can conclude that the Church Authority declared heresy to those astronomers like Galileo whose finding about earth and universe were different from the Church.
Learn more about Galileo here:
brainly.com/question/67447