If both parties to the relationship are utility maximizers, there is good reason to believe that the agent will not always act in the best interests of the principal.
That is held to result when the market suffers from inadequate or inaccurate information delivery, inadequate or insufficient competition, principal-agent problems (where agents fail to represent the interests of their principals), and externalities (where market actors fail to bear the costs of their actions or choices), among other problems.