A book on John Wayne said he and Kirk Douglas didn’t get along very well, but it worked out well for the movie because their characters were rivals.
Douglas said the same thing. Even when they were “on the same side,” they were rivals. They were always fun to watch!