A longtime Microsoft engineer is resigning after 13 years at the company, claiming he can no longer tolerate its decision to offer cloud computing services to the Israeli military.