Under CIF the supplier books the ship and minimum insurance; under FOB you choose the carrier. Risk passes on board in China either way.
CIF moves the freight booking and minimum insurance to the seller, but not the risk, which still passes when the goods are loaded at the Chinese port. FOB leaves the booking with you, so you control the carrier, the transit and the destination charges.
Key takeaways: if you take CIF, check the insurance cover and the destination port charges; if you take FOB, get your own freight quote before you accept the supplier price.