Buttercream is porous. This means that it can absorb moisture from the air and, therefore, smells cling to it. If you put uncovered frosted cupcakes next to your meal leftovers, or some garlic, they will taste like it afterward, and who would want that?