Scenario 1: Calorie surplus
You consume more energy than you actually use.
Unfortunately, since our bodies are still living in the Stone Age and have not learned that food is no longer a scarce commodity, they try to store any excess energy. In most cases, this takes the form of body fat. It doesn't matter at all which foods were used to achieve this calorie surplus.
An energy surplus also has a good side. For example, if you want to build muscle, you should ideally be in a calorie surplus so that the excess energy is put into muscle. Nevertheless, a certain amount of fat build-up is unfortunately unavoidable, because that is how our bodies work.
Furthermore, however, you will have significantly more strength for hard workouts and you will achieve faster performance progress.