Why is it that the lower socioeconomic and minority population have such disadvantages

Why is it that the lower socioeconomic and minority population have such disadvantages when it comes to healthcare outcomes? Is it not for the common good of our communities to care for all of society?