When Egypt reinforced its border with Gaza and bolstered its security last year, Egyptian officials insisted the deployment remained within the framework of a 2016 agreement between the two.