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 answer reflects the relationship between star formation, the presence of gas and dust, and the age of the stars within a galaxy. Young stars are usually found in regions dense with gas and dust, as these materials are essential for star formation. As stars age and evolve, they can return processed materials to the interstellar medium, but galaxies with a higher proportion of older stars tend to have lower amounts of natal gas and dust available for new star formation.