Fact check
THE ASTRONOMY ISN'T COMPLICATED.
The Sun does not travel to a western location on Earth and set inside anything.
Earth rotates.
“Sunset” is the apparent motion produced as an observer's location rotates away from the Sun.
There is therefore no physical setting place of the Sun, muddy or otherwise.
But here's the more interesting problem:
the Arabic verse itself does not contain an equivalent of “as if.”
Its wording says Dhul-Qarnayn reached the Sun's setting place and “found it setting in a spring of dark mud.”
Translating that as “he saw it as if it were setting...” may be a defensible interpretation.
But it is still interpretation.
The clarification isn't sitting there in the Arabic waiting to be translated.
It has been supplied by the interpreter.
And this exposes a recurring problem with alleged scientific perfection:
When an ancient text sounds compatible with modern knowledge, we're told:
“Look! Scientific foreknowledge.”
When it sounds incompatible with modern knowledge:
“Obviously it's metaphorical.”
That's an extraordinarily convenient epistemology.
Heads, revelation wins.
Tails, you translated it wrong.