Similarly, when politicians pass laws that maximize a single value while disregarding the harm it does on other consequential values, they are considered bad people.
The world is complex. Systems of decision making must do careful multi-value optimization to be considered good. Single value maximization is evil because it abdicates responsibility.
In the specific case of modern capitalism as-is-implemented, structures like ETFs and bank saving accounts are specifically designed to launder moral responsibility. "I just allocated my capital to the highest return instruments as recommended by my financial advisor. How could I know through all the opaqueness that I was directly enabling child labor and environmental destruction?"