A warning is a good-faith attempt to explain possible legitimate consequences (“If you’re late to dinner, the spaghetti will be cold”), whereas the purpose of a threat is to manufacture consequences that will induce fear (“If you’re late to dinner, I will throw the spaghetti at you”).