To understand how FOB terms work, let's look at an example.
Assume that you're a jelly dealer and you purchase 10,000 jars of jelly from Company XYZ. Company XYZ manufactures the jars of jelly in Japan and you sell them in your store in California. If your purchase contract says "FOB, San Francisco, ABC warehouse," this means Company XYZ will pay the loading and shipping costs to get the 10,000 jars of jelly from its Japanese factory to the ABC warehouse in San Francisco. The jelly becomes your property in San Francisco, meaning that if the jars are lost, destroyed, or stolen on the way to San Francisco, Company XYZ is liable because it still owns the goods while they're in transit. Likewise, if they are lost, destroyed, or stolen after they reach the ABC warehouse, you are liable.