Sheep can also bloat on grains; recommended treatments for both grain and frothy (pasture) bloat are not the same. You can buy a commercial bloat guard to keep on hand to administer orally to the sheep in an emergency.
ATP is remarkable for its ability to enter into many coupled reactions, both those to food to extract energy and with the reactions in other physiological processes to provide energy to them. In animal systems, the ATP can be synthesized in the process of glycolysis in which there is a net production of two ATP molecules in a cycle. This glycolysis is a major step in anaerobic respiration.
The theory suggests essentially that most ATP synthesis in respiring cells comes from the electrochemical gradient across the inner membranes of mitochondria by using the energy of NADH and FADH2 formed from the breaking down of energy-rich molecules such as glucose.