Conversation so far:
Who did Cooper become friends with?
Cooper's twenty-year friendship with Ernest Hemingway began at Sun Valley in October 1940.

Question: How did he become friends with Hemingway?
Self-contained rewrite: How did Gary Cooper become friends with Ernest Hemingway?