Movies are complicated products that often require hundreds of thousands of hours to complete. A modern CGI-laced film can employ thousands of people, and be filmed all over the world. There's far more going on than what is shown on the screen, and not every movie makes it from beginning to end.
The ones that do are clearly far better off than the ones that didn't, but that doesn't mean they didn't have an easy production. Movie productions run into problems all the time, and they run the gamut from sick stars to typhoons sweeping through, and destroying expensive sets.
Whatever the cause, there are plenty of tales in Hollywood of movies going the distance, but nearly getting shut down along the way.
When that happens, it's often because someone at the studio has had enough of a ballooning budget, or the director they hired isn't doing what they asked.
Movies are, after all, incredibly expensive to make, and the studio needs to see a return on its investment. When a movie tanks at the box office, that investment can cause serious problems for the bottom line. Still, there are some insane reasons a studio nearly shut down some of Hollywood's greatest films.