It happens to me too!
In my experience, I have tried so many calorie ratios 45/45/10, 40/30/30, 30/40/30... etc.. and I can say yes calories are important in order to reach your goals, but also how your body respond to the foods you put in your diet.
I could eat much protein with little fat and little carbs to cut but the quality of my muscles would not look the same as if I were to add fat, that works best for me.
When I rely mostly on carbs and the look I get is kind of puffy muscles... when I lower carbs and increase fats (the good ones of course) my muscles get a whole different consistency.
So my point is, we are all different in terms of how carb/sugar or fat affect us. So we have to find the combination that works best for us.