The e-commerce giant is the latest company to impose the temporary fees as the Iran war drives up energy prices.