Diet and exercise (to lesser extent) are the mechanism of obesity. The other factors may affect diet and exercise. A massive other factor for the latter is driving.