Maybe plenty of scientists are religious, but it's probably only because they haven't studied cosmology.
Science has run into the major stumbling block of not being able to delve any deeper. Cosmology is such a head-mess - after you get inside the atomic nucleus and quarks - you're down into 'strings' which is just a mathematical theory currently that is difficult to prove because it's currently impossible to test. Some may default back to their religious upbringing because of such stumbling blocks, but cosmology is not a cause of people becoming religious IMO - far from it.
Science is probably only 1% into understanding the universe and its origins so far - even though the progress made in the last 100 years is immense. But it's highly unlikely that the right answers will be found in less than several hundred years time IMO. And even then it might only be because some advanced alien civilisation might happen to tell us.