I'm very concerned about public awareness of obesity, especially when pregnant women are told they're gaining too much weight by a doctor. Given that scare tactic combined with the wrong information, a pregnant woman might think she needs to start dieting.
In some things, the body really does have a mind of its own, and weight is one of those things. Some women gain more than recommended despite their best efforts. It may be what she's genetically made to do.