Dogs have short digestive systems because:
Dogs usually eat stale food that may be decomposing. Thus, foods must be digested quickly without risking infection.
Dogs have short digestive systems like most carnivores. The raw meat that they consume decomposes very quickly. In addition, dogs also scavenge. By digesting their food quickly, dogs can extract most of the nutrients from their food without increasing the risk of infection by eating stale food.