Oil keeps the carrot cake moist, tender and extends its shelf life far longer than if it were made with butter. Cakes are usually made with butter as butter cakes taste far nicer than oil cakes. But when you have a cake full of add-in's like carrots, spices or nuts the lack of butter isn't an issue. And in that case, oil works better to keep the cake light.