Okay, gonna have a stab at this and try to not offend anyone...
The technical term for that is a perverse incentive.
In our society, we have decided (one way or another: the law, indoctrination by the big corps., taught by our parents, etc.) that certain actions/things aren't good (eg: pr0n...