When over mixing the buttercream frosting, the bonds you have created weakens and the fat separates from the water molecules in the butter. This causes the mixture to get a grainy appearance and often fine gritty texture.