High quantities of digestible proteins, e.g. from fresh, young leguminous fodder can cause bloat. Gas and foam develop in the rumen and remain trapped there.
Attribution: Avallain