This is basic ecology, the bacterial population dynamics in your colon are a direct result of substrate availability. If it’s primarily fiber, polyphenols, and other indigestible plant compounds reaching the colon you’ll likely have a healthy microbiome. If instead you malabsorb food from poor lifestyle factors and have macronutrients reaching the colon they’ll probably fuel blooms of pathogens. I think microbiome researchers need to talk with ecologists more to help advance the field out of the myopia it’s in.
FMT does appear useful for special cases of infection like c-diff, but I think that’s led people to believe it’s a generally health promoting practice, when the research simply does not show it.