Sugar definitely seems bad, but doesn't explain why simple fecal transplants are able to replicate many of the health effects of a low-carb diet without the actual diet, at least in some obese mice [1]. (PS I am definitely not an expert in this area, just someone who is tired of eating low-carb to maintain weight, and wondering why other people can just eat normal food.)
[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6199268/