“It’s not a coincidence they are berthing next to each other,” said Russ Dallen, who is a managing partner at the brokerage Caracas Capital Markets and closely follows Venezuela’s oil industry. Mr. Dallen said Iran could now transfer some of the gasoline to Cuba or its deliveries to Venezuela could free up Venezuelan crude for delivery to the island.