You'd have to wonder how a scientific understanding could possibly be reflected in a poem that makes heavy use of reflective structures.
It's a poem, of a particular kind. The people it was written for would not have taken it literally. IIRC the Talmud doesn't say that it is obviously something literal. That's a more modern trend of Christianity, and even there, many sects don't.
There's problems with taking it literally. That it isn't scientifically accurate is the least of those.