Later: As you keep reallocating more and more resources to Good B, you start using less efficient resources. The output of Good B increases, but at a decreasing rate, meaning the opportunity cost of giving up Good A rises. This results in diminishing marginal returns.