Amazon’s international expansion is weighing on profits. 