Under my doctor's supervision, I went on the keto diet. I eat high fat foods and meats, and I lost about 50 lbs in 2 months. My weight stabilized over the following months within a healthy range. Additionally, chronic pain, concentration, and energy levels all improved. Most of this is due to the weight loss, but not all of it. Sugar can cause inflammation in high quantities, and it can also cause an increase in blood pressure. Sugars are also metabolized by cancer cells while ketones are not, which would explain the rise in cancer rates as sugar consumption has increased across the planet. My liver function improved, cholesterol levels improved, blood sugar stabilized, and insulin resistance went down.
I personally believe that there is some kind of difference among humans in how we digest things that goes beyond the microbiome. Some people can eat high amounts of carbohydrates and sugars without negative consequences beyond tooth decay. Other people cannot eat any sugar without incurring weight gain and cognitive problems.
When I used to weight train, during my cuts (weight loss phases), I had much more success with a high fat/low carb diet than I ever did calorie counting (which naturally makes you avoid fat since they have a higher calorie density).
[0] Not an expert but this is my layman's understanding after reading lots of books on the subject.