It IS illlegal. Egypt is extremely broke and they charge for every type of photo of their monuments. Even tourists visiting tombs need to buy a photopass to be allowed to take photos. Plus, in some places like the Valley of the Kings you are not allowed to photograph due to anti-terrorist policy.