Egypt is not an ally, it is simply a leach for American aid.
Obama is basically paying them Protection Money.