Sometimes having an epileptic fit causes a person to foam at the mouth.