Over the past decade and a half, Americans’ opinions of China have generally been more favorable than Germans’ views, but a rise in German sentiment over the past few years and a decline in American opinions have pulled attitudes closer together.