As you beat chocolate frosting it will get air bubbles in it. A good trick to get rid of them is to use a spatula to stir the frosting for 2-3 minutes by hand, pressing it against the side of the mixing bowl to knock out some of the air bubbles.