Circles are flat. The Old Testament reflects cosmology as it was understood in the Middle East in the First Millennium, BC. I have always taken much of the bible as allegorical, rather than literal. It was written to reveal God to man, not necessarily the puzzles of His works, which he left to us to figure out.
There are times when I even can’t figure something out and turn to God for a answer.