India and China, the two most populous countries, need to rework their relationships.