Here's why:
* Hydrogen and Helium: The vast majority of interstellar gas clouds are composed of hydrogen and helium, just like the Sun and other stars. These elements are the most abundant in the universe.
* Trace Elements: While the majority is hydrogen and helium, interstellar clouds also contain trace amounts of heavier elements like carbon, oxygen, nitrogen, and iron. These are also found in stars, although in different proportions.
* Origin: Interstellar clouds are the birthplace of stars. As stars form, they eject material back into the interstellar medium, enriching it with heavier elements. This process is similar to how the Sun formed from a collapsing interstellar cloud, and it continues to enrich the interstellar medium over time.
Therefore, the similarities in composition between interstellar gas clouds and stars are not a coincidence, but rather a testament to the interconnectedness of the universe and the cycle of star formation and evolution.