Amazon.com Inc. has terminated an employee who protested the e-commerce giant’s ties to the Israeli government.