Mayo is basically oil, egg yolk, and depending on the brand varying amounts of vinegar.
Cake recipes often call for eggs and oil, and some will use something acidic to help the baking soda/powder activate. We're just generally not used to using an emulsified all in one ingredient.