I’d prefer not to say too much about Egypt, mainly because I know little.
However, I will say that the events illustrate why foreign aid isn’t the best means for gaining an ally. Especially when the aid provides canisters of tear gas for the aid recipient to fire at its citizens.
The best way to aid another country is to encourage unrestricted trade.
Classically Liberal has a good post detailing why non-interventionism is superior to foreign meddling, and even Krugman has a nice post.