deodorant properties of retin-a

Name: 
E.
More information: 
I had ingrown hair after waxing, and since I already had a prescription for retin-a, decided to apply some to my armpit to help exfoliate. After a few days I realized that it also controlled BO. I'm wondering why this works... does the exfoliation just reduce the breeding grounds for bacteria, or is something else happening?