Foaming at the mouth

"Foaming at the bit" is similar to "chomping at the bit". Horses that are chomping at their bits will generally foam up around their mouths as well! Both phrases indicate eagerness or impatience, as opposed to anger, as is intended if one is "foaming at the mouth".