What created more animosity between science and religion for the church?

Science forms theories, the church lies when they are proven wrong. Pretty simple.