Earlier on Tuesday, military officials said troops came under fire in the southern city of Rafah and returned fire.