When obesity occurs during pregnancy, leptin resistance occurs in the body. Here, LEP is linked to obesity due to melanocortin 4 receptor deficiency.