These two nations are allies but have two different perspectives on terrorism that could put Turkey in a tight spot.