SAN FRANCISCO — Several Google employees were arrested Tuesday evening at the company’s offices in New York City and Sunnyvale, Calif., after staging sit-ins to protest the tech giant’s work with the Israeli government, escalating the conflict inside tech companies over the war in Gaza and whether U.S. companies should sell their technology to Israel.