The legal battle between the makers of rival weight-loss drugs stems from claims made in advertisements.