They pick the best commodity for whatever destination they are bound for. If the fleet is still in port, you can set it for different destinations, and it will pick a new commodity.
Oh, wow! That's cool, I didn't realize that! I will add that to the wiki! Is there a reason why you couldn't do that for the first trip as well?