Given that technology, science, and the archival thereof stems from cloisters, the Vatican, etc. I guess they had a long history of figuring out what stance to take on technology.
Let's not forget that Galileo Galilei studied at the Pontifical Academy of Sciences, that Mendel (Mendel's Laws) did made his discoveries in a cloister and books, translations and libraries on pretty much everything for a really long time was pretty much only done within religious institutions. And for the longest stretch those were Christian Catholicism and Islam.
The Vatican Observatory also is an important source of high quality papers.
I mean one of the primary things Christians and Muslims based they believes on are books. So many got in touch with it. And that's not even touching the whole architecture, arts, philosophy department yet.
The fact that in thousands of years of history there have also been a couple of really dumb people in charge that were paranoid or wanted to distract from their failures and got mad or scared when someone challenged their world views isn't exactly surprising. Looks like no matter how good a large enough group of people gets their will always be idiots messing things up.
I guess when you look back as much as the people in Vatican appear to do I guess you see patterns. Technology and science (race theory, chemical castration, ...) or simply "progress" are often used to justify acts of evilness. Just like religion, democracy, freedom and what not.
That said of course there's still die hard anti-science creationists. But talking to a very religious person once it seems that there is simply also a lot of philosophy around science. Eg. there was a big bang (fun fact, a theory started by a religious person) and the universe simply didn't exist for an infinite time there must have been some cause for it. And unless that cause is some kind of infinite cycle it also must have started somehow and even though I do not share that believe there is a notion of a deliberate start in there. That won't make me a religious person, but it won't make them an atheist either. So I guess that's fair enough.
What I wanna say with that is that the science vs religion trope is as true or false as democrats/republicans or other groups of people are opposed to science. They all are when they are confronted with something they don't like. I think the HN comments section is the best proof for that. ;)
Also atheist here. Just not the kind that doesn't even know the difference between knowledge and beliefs.