It helps you eat at a caloric deficit. I wouldn't say that is starving yourself. It is basically the same mechanism for how any weight loss would work. Less calories consumed versus burned on a daily basis.
There are additional mechanisms that are still being studied, but at minimum it is helping people to eat at a level that supports weight loss.