A) Both of them published works that challenged the view of the Church.
Both Galileo and Copernicus believed the heliocentric theory of the universe, which contradicted the Church's belief in the geocentric theory. Copernicus basically founded the heliocentric train of thought, and Galileo pretty much proved it with his use of the telescope.