People who are obese before and during pregnancy are more likely to have children who develop cognitive and behavioral difficulties as they age, a study published Thursday by JAMA Network Open found.