The thing that always irritated me about the planets that the crew stumbled across mostly seem to just be there
. They're rarely mentioned as having their own Sun, or being part of a solar system, or even having any moons. Same with asteroids they just stumble over.
I'm not saying there are never rogue planets, asteroids, and comets roaming the galaxy; it's just that the Enterprise ran across a helluva lot