This can sometimes happen if the cake was left in the baking dish too long before serving. The sauce can be soaked up by the cake. Otherwise, you may have cooked your cake for too long.