Endocarditis causes inflammation of your heart’s inner lining. It develops when germs —usually bacteria — enter the bloodstream and collect in your heart. Some symptoms include a heart murmur, coughing, with or without blood, abdominal pain and weight loss, red or purple spots on the skin. Consult a cardiologist for a diagnosis.