The movie version of the Sound of Music followed the stage version fairly closely. But some meaningful changes were made. Specifically, the movie version added two new songs, "I Have Confidence" and "Something Good," while dropping three songs: "How Can Love Survive, "An Ordinary Couple," and "No Way to Stop It" from the stage version.
The wikipedia link lists these changes, but does not explain why they occurred, hence the question.