The attack occurred as Iran and the U.S. are officially in a ceasefire and as the two countries seemed to be approaching an agreement to end the war