Coughing up phlegm after eating can be a sign that the act of eating is irritating or triggering something in the digestive system. Possible causes include food allergies, aspiration, or GERD. Phlegm ...