If you studied psychology years ago, you may remember BF Skinner and his work during the 20th century on operant conditioning. Skinner studied whether behavior increased or decreased based on how often, and in what manner, you provide a “reinforcement” (reward).

https://www.blog.theteamw.com/2011/03/14/100-things-you-should-know-about-people-80-behavior-can-be-shaped/