Seizures in dogs can be the result of allergies or other medical conditions. When it comes to the heart, a blockage or abnormal heartbeat can also put your dog at a higher risk for fainting. Fainting can also be caused by a tumor, low amounts of sodium or calcium in the blood, or sheer excitement .