When i did my first bulk i was eating everything because my weight was 50 kg certainly i build muscles, nevertheless in my second bulk i star tracking my macros consequently i build more amount of muscles. From my experience, i can tell you that carbohydrate was the principle factor for muscle growth because it's the fuel in our body.
Mass-building requires energy, through high carbohydrate intake. "To gain mass, you have to ensure you're getting enough protein to rebuild muscle tissue damaged through training, but you also have to eat a lot of carbohydrates because gaining size requires you to fill your muscles with glycogen.
How many grams of carb do you need to build muscle?
According to CompleteHumanPerformance.com, most bodybuilders aim for two to six grams of carbohydrates per kilogram of body weight (one to three grams per pound). The source matters. Carbs from a Snickers are not the same quality as the carbs from quinoa.