Genetic variations may help explain why patients respond differently to popular weight-loss drugs, according to a new study.