Microsoft has fired two employees who organized an unauthorized vigil at the company's headquarters for Palestinians killed in Gaza during Israel's war with Hamas.