 Because the country that he was accused of helping is Egypt, that is considered an ally, not an enemy. In addition, there are constitutional rules on treason. It makes it very hard to try anybody with treason. So often people in this country throw around the word treason, and the legal definition of it is actually far more complicated to meet. So there's no reason to charge him with treason.