Scientist do not have an answer “Insert Allah here”
People must have asked Muhammad “how does it change from day to night?” And Muhammad said “oh Allah switches it from day to night! Magic and proof there is Allah!! Wooooooo see you cannot explain it then I must be right!” – sounds familiar?
You should also look up the term “God of Gaps”. The idea that just because we do not know what happened, does not mean it is God. First it was who made rain? Where thunder comes from? Is Allah angry that desease hits one family and not another? All swept under the carpet when we learn what they are and how they work.
Take start of humanity or universe, we may know lots but not everything. The little bits that we don’t know does not mean it is God. But what we know for absolute certain – the universe was not created in 6 days, and man was not made from clay/dirt, and woman is not made from a man’s rib. That is just enough to stop the bullshit but going back to the topic of this verse-
Geocentric view of the universe:
“it is not allowable for the sun to reach the moon, nor does the night overtake the day, but each, in an orbit, is swimming.”
Qur’an 36:40
How exactly can the sun reach the moon? To us, the sun is fixed and moon rotates around the Earth! This shows with absolute cleariety that the author of the Quran is human looking from the Earth out and having no idea how the universe works! Where -ever – in the Quran does it acknowledge this fact? Then the real magic is further confirmed in the Hadith:
There are also sahih hadith (Sahih Muslim 1:297) that mention the sun’s daily cycle using the same Arabic word to mean a resting place, which is underneath Allah’s throne, and is where each night the sun prostrates and is asked to go and rise ‘from its rising place’ (مِنْ مَطْلِعِهَا). This cycle repeats, until one day Allah asks the sun to rise ‘from your setting place’ (مِنْ َغْرِبِكِ).
Other verses that make this same mistakes are: Quran 21:33, 31:29, 91:1-2, 2:258, 18:86 & 18:90.
This is one of many scientific mistakes in the Quran that you can find here:
https://wikiislam.net/wiki/Scientific_Errors_in_the_Quran