The truth is that obesity is more complex problem but sugar definitely one of the important drivers.
One way obesity is a complex problem is that in most people it is delayed by decades. Our bodies can take a lot of punishment for a long time before they become disregulated enough to start gaining weight.