Moral hazard refers to the tendency of individuals or entities to engage in riskier behavior when they are protected from the consequences of their actions. It arises when there is a disconnect between the risks taken and the potential rewards or penalties associated with those risks.