Valero Energy Corporation (NYSE: VLO) booked higher-than-expected earnings for the fourth quarter despite a widely anticipated slump in profits for the last quarter of 2024 and the full year.