The Israeli military struck an apartment in Gaza before dawn on Tuesday, killing two people and injuring others.