That's why they were fighting.
The planets infested with bugs weren't barren rocks until after the bugs arrived and stripped them of anything edible. That's why the bugs were migrating from planet to planet. The line where they were talking of going to "Zagima Beach" points that out.
