The primary problem, as introduced earlier, was that Aristotle's science was going out of style; but the church was still attached to him. It could not make a distinction between Aristotle and Christian teachings; and in that era, there was no distinguishment or separation of science from philosophy. For the Church, if Aristotle was wrong, Christianity was wrong.
The Roman Curia, the religious authorities, imposed Aristotle's view upon the Bible, allowing Greek philosophy to influence its theology. They steadfastly maintained their traditions and erroneous interpretations of Scripture above increasing scientific observations to the contrary. Galileo's published works remained on the Roman Church's Index of Prohibited Books until 1835. Not until 1981 did the Roman Catholic Church officially forgive Galileo.
Science and Religion, In Our Time - BBC Radio 4
Today, Science views Galileo's conflict with Church hierarchy as a great triumph of science over religion. Today Science is king, Nature is the Creator, and God (if He exists) is irrelevant. Galileo would not have viewed it thus, for his faith in the truth of God's Word remained strong. He recognized that God is King and Creator, not Nature.