One of the most common reasons for a dog cough is a disease of the heart valves or heart muscle; this prevents a dog's heart from pumping blood efficiently. Coughing results when parts of the heart enlarge and compress the major airways in the lungs, or when fluid backs up into the lungs.