Yes, it was scientific enquiry that began answering the questions, and not religion. When science started coming up with the answers, the scientists were imprisoned or ridiculed by the clergy when it proved their dogma incorrect.
How many of these 'scientists' can you actually name? Surely, if what you say is true, there must be dozens of them if not hundreds...
Science didn't exist until the 18th C (and scientists until the 19th), and its precursor Natural Philosophy was not something clearly differentiated from theology, cosmology, ethics, etc from the time of the Greeks onwards. The development of modern science is intertwined with religion, and trying isolate science from its historical roots can only lead to anachronistic misunderstandings.
A disproportionate number of people involved in the development of modern science
were clergy, which seems strange if they were so oppressed and cowed against pursuing knowledge. When the university system developed (with significant support from the Church) you couldn't even study theology until
after you had studied Natural Philosophy. The Churchiest was the single biggest funder of the scientific enquiry in Europe, and the Church was the major translator of Graeco-Arabic Natural Philosphical texts, which also seems very strange if they were so hostile to 'scientists'.
The conflict thesis story you present has been discarded by the vast majority of modern historians of science because it's completely untenable in light of the evidence. Unfortunately, as it is a New Atheist dogma, this point seems to be ignored by those who otherwise profess to place great value on reason and scholarship.
Religions only answer to a mystery is “god did it”.
If you want to be almost wilfully ignorant you could reduce a diverse set of cultural influences that have endured over many diverse societies for thousands of years to a statement such as this.
It doesn't show a great deal of intellectual curiosity, understanding or critical insight, but each to their own I suppose.
A reified concept of religion in the modern sense didn't even exist until the 18th C. This is another reason why this eternal battle between science and religion myth is somewhat problematic seeing as neither actually existed in the way we think of them today until quite recently.