Oil helps keep the cake light and moist. Butter can also overpower the other ingredients, so the oil allows the carrots and spices to be more flavorful!