A cargo ship prepares to berth at a port in Qingdao in China’s eastern Shandong province on Wednesday. New tariffs went into effect Friday.