 Alan Alda (qv) said what inspired the film was an actual incident  where he judged a friend too harshly. He realized that not only was  he wrong, that friendship goes through "seasons"; so he wrote the  script based on that notion.