This is best explained by the overjustification effect. This effect occurs when the person loses the intrinsic motivation to perform a task when they receive an external incentive, such as a payment. The person has different motivations that help him sustain the activity he performs, for example, altruistic motivations, but by losing these motivations the person loses interest in carrying out the activity.
I hope my answer can help you.