Economists call this moral hazard.
This is known as moral hazard to economists.