https://onlinelibrary.wiley.com/doi/10.1002/oby.22437
This study looked at what the main reasons for weight regain were during a diet program. They found that negative emotions and food craving / urges where the two main causes. Therefore, before starting a diet program we should have a plan in place to deal with negative emotions and urges.