The correct response is:
Stars form from dust and gas, so galaxies with younger stars typically consist of higher proportions of dust and gas than other galaxies.
This statement reflects the relationship between star formation and the presence of dust and gas in a galaxy. Younger stars indicate recent star formation, which requires dust and gas, whereas older stars suggest that star formation has occurred in the past, leading to consumption of those materials.