Just imagine having to clean up from a leaky container of syrup seeping into your cabinets. Since all RVs vibrate, especially when going down the highway, glass containers can break and plastic ones may, at some point, crack from ongoing vibrations. This is not a concern when living in a house or apartment.
Store bottles of cooking liquids (cooking oils, sauces, vinegar, syrup, etc.) all together in a solid, plastic container or tub. When driving, if one happens to break, the spill will be contained. You will have a small mess to clean but not a disaster. Use an old hand towel or (clean) socks to cushion the glass containers.