Magic Shell syrup gets its hardening properties from coconut oil, which is high in saturated fats. Once it contacts something cold like ice cream, the fats rapidly cool down and solidify.