The pastry of a Pie is far sturdier than the flesh of a cake, meaning that it won't fall apart for no reason. Also, the neutral taste of a crust balances out the sweetness just so; whereas the icing on a cake is prone to being sickly sweet and spoiling it