That's because a chemical in chocolate, theobromine, can be toxic to dogs and can cause vomiting, a racing heart rate, or restlessness. More severe poisoning could cause heart failure. Although ...