Also despite it being understood that dieting increases levels of the stress hormone cortisol, which causes weight gain, and which also can have an effect on an unborn baby.If you are thinking about dieting (whether you are pregnant or not), consider this: overeating is a compulsion and it is driven primarily by dieting.