Frosting does not stick well to styrofoam. Styrofoam is not an absorbent material, so the frosting tends to slide off or not adhere properly. It's best to use a different type of material, such as cake boards or cardboard, for applying frosting.