The vinegar reacts with the small amount of cocoa powder and the other acidic ingredients like buttermilk to help make the cake moist and tender and helps give it a slightly reddish tint, which is then helped out by adding red food coloring.