Yes a lot of crash diets fail, for obvious reasons, but once a diet has stabilized the cravings will go away.
It does for many people mean they will need to cut out or dramatically cut down the eating out, drinking and instant meals. Most people don't want to do that.
It is not hard for the body to discourage unnecessary caloric expenditure in response to a notable caloric deficit. Indeed, doing just that is a basic famine survival instinct.
Now given the decidedly non-famine conditions, eventually things should restablize, but it does mean for a person at caloric equilibrium, reducing caloric intake by say 500 Calories, will often not result in a 500 calorie deficit, but a smaller one for for quite some time until the body adjusts to this being the new normal.
In the mean time, the person likely feels like shit. Furthermore, If there actually is food available, the body and subconscious mind is doing everything it can to encourage the person to eat more.
This substantial resistance of the body to attempts to run meaningful caloric deficits for an extended period are a not insignificant portion of why "dieting" often fails. People don't stick with it, since it majorly sucks.