Understanding oscillation in gas fermentation