Here is more nonsense shadows by AI. Oops, not AI, but famous paintings by famous artists.
https://thereader.mitpress.mit.edu/the-art-of-the-shadow-how...
https://thereader.mitpress.mit.edu/the-art-of-the-shadow-how...
Also, Midjourney and Stable Diffusion can draw shadows because humans figured out how to do it first.
Because humans are humans, and they eventually figured out how shadows work. They didn't need to be shown thousands of examples of correct shadows before learning how to do it.