The different planets are single places, with settings chosen to fit the needs of the storytelling. Think of them as backdrops in a stage play. As far as the films are concerned anything not on screen might as well not exist, and the rest of the various planets don’t need to be consistent with a realistic broader universe. Trying to paint them all in would waste scarce screen time and confuse the audience.
Arguably this is one feature that made the “Star Wars universe” hopeless to adapt to try to tell stories with broader context. If you start trying to flesh out the details, the planets, galactic government, spaceship technology, concept of the Jedi, etc. all start to fall apart, because they were never very carefully designed in the first place, but just hacked together to meet the particular needs of the original story.
I find Starwars stupidly annoying about it, where a planet is usually a single place and present no variation. Seeing that there are swamps on Dagobah, I expect there also must be nice sunny beaches somewhere.