Lying down allows stomach acid to reflux up and irritate the throat. Coughing helps clear the irritation.