This is done because the cake mix is not going to be baked so this helps kill any lingering bacteria that the dry mix could possibly have in it. Flour can contain bacteria which is why they always tell you not to eat cake and cookie dough batter.