That is because only idiots believe "sola scriptura". Heck, even Martin Luther didn't believe that. All truth is "of God", not just what happens to be written in your particular translation of the Bible. And that includes both history and science.
One could just as easily say that only idiots, the ignorant, and those whom would desire to assert sola ecclesia (meaning -- their own) to be over and above Scripture itself -- theologically speaking --- refuse to acknowledge the well enough exampled (in Scripture, itself) principle (of sola scriptura).
There is some evidence in the above quote from yourself (if that be true) that by your own admission, Martin Luther "didn't believe" it, as "it" is often misunderstood, or else misrepresented.
I know of only a scant few who themselves claim to adhere to the principle, whom also would assert the rest of what you mentioned --- all history & science --- is contained there.
Yet interestingly enough -- who comes to my own mind now but Gerald L. Schroeder.
Whatever one says about the man, it would seemingly (by default?) simply have to include that his, ah, applications of particular standard model physics/astro physics theories, are at the least interesting, even one if not accept those, or be hesitant to embrace them too eagerly.
Being that the man is far from ignorant (he does have a Ph.D), thus arguably not idiotic, I suppose his intelligence itself (if intelligence can be an "it") was part of what drove himself to experiment with applying what he knew of physics, to how the traditional Hebrew approach in theology and Hebrew word sense (in the book of Genesis) would stand, when those two disparate creation accounts were compared, one to another.
He does appear to be able to coax them in to fitting well enough(?) with one another, without sacrificing general (pun intended, relatively speaking) standard model physics.
Unless you'd care to try your own hand at establishing that "idiocy" would be a fair word to describe the man, in general, then it could be possible that Schroeder is something of an outlier.
A "bible thumper" who can say, with a straight face --- that the bible (as he knows it) actually does (in sense of origins of the Universe) contain "all science and history".
Popcorn...peanuts
get yer' peanuts