Firstly, I don't think it is the only source of disbiosis, other things have been shown to throw the balance of gut bacteria out (anti-biotics, stress, gluten, etc) but it is probably one of the major factors.
When there is this disbiosis the immune system considers it a threat and attacks...