it has everything to do with history. What are you even talking about? You think that the modus operandi for all people for literally tens of thousands of years has "nothing to do with history"? That's patently false, as is your assertion that religion is inherently composed of dogma.
If you want to prove that religion is, in essence, dogma, you would have to explain the thousands of years of debate intra- and inter-religion. Which religion is so rigid that it lacks the qualities of philosophical debate and political and historical struggle? There isn't one. Not Christianity, certainly not Hinduism, not Judaism, none of them. You're just making a false claim.
Jewish tradition is literally defined by debate. Spinoza was Jewish and his monist philosophy is a challenge to substance dualism (a philosophy you unconsciously display in all your posts on this matter so far). Catholicism has debates between literalists and divine allegory, between apophaticism and cataphaticism, between dualism and monism (see the Carmelite tradition). These are all scientific and philosophical questions.
Speaking of which, and again I will note a point you have not addressed, science was birthed within religious societies. According to your own definitions, this should be impossible, but it isn't. In fact, it's so possible that science as a praxis is now global because of its inception and spread in manifold societies of the past. History is not a domain of the social sciences; it is the life of humanity played out through time. To pretend that history and religion are segregated is simply absurd.
Religion is not science, that much is true, but nobody ever claimed it was. It is its own terrain of epistemology that can be *subjected to* scientific and philosophical critique, something that has been done in fits and starts for thousands of years. All these things are connected because everything is connected. You cannot simply claim religion is strictly dogma when it was an *entire worldview unto itself*.
Contradictions exist in religious history because contradiction is a fact of life. Even logical contradictions within religion are approached as problems to be solved, not dogmatic assertions. Otherwise, explain why Saint John of the Cross is now considered a saint by the same Church that tortured him in prison. People can change their views in accordance with reality even in religion.
Your liberal atheist view of religion suffers from dualistic and metaphysical assumptions that are not backed up by anything you've written so far. Dogma is a result of ossified institutions that have suffered world-historic defeats over exactly that. The contradictions that liberal atheists love to point out are not essential to religion, they are tertiary results of specifically political struggle, including within the text of the Bible itself.
Theologians are also scholars of Biblical history, and they obviously have these debates in broader religious circles as a whole. They literally have to go to universities to study this shit. Moreover, and I repeat myself again, working people have their own religious conceptions, their own religious struggles, their own philosophies, and their own histories. They are also under the scope of religion. Ignoring them doesn't reinforce your argument; it weakens it substantially. My own people literally had to re-ethnicize Catholicism because we were abandoned by the Church and had to adapt to non-institutional (i.e., non-dogmatic) social circumstances, and our religion changed in accordance with reality.
I agree on principle with combatting dogmatism and even with principled anti-clericalism. You seem to be clinging to Enlightenment-era bourgeois arguments against religion that, while partially progressive for their time, were very much a product of historical and political struggle. They were making philosophical arguments that are well-past outdated. Religion has continuously been critiqued and revised by people with far more rigorous arguments than the Enlightenment liberals.