Egypt’s relations with Hamas are tense. Some Egyptian and Arab papers have accused Hamas members of participating in the Sinai terrorist attack on the Egyptian soldiers in Rafah on Aug. 5, 2012, in which 16 Egyptian soldiers were killed. Hamas completely denied its involvement in that attack. Also, there was news that a large shipment of military clothing similar to those used by the Egyptian military tried to enter Gaza. Some Egyptian analysts interpreted that to mean that Hamas may be trying to infiltrate the Egyptian army.
So Egypt’s relations with Hamas are determined by: