The military coup that removed Mohammed Morsi from office is the second coup d'état since 2011. Egyptian presidents serve at the discretion of the Egyptian military. This should surprise no one. The military has no reason to support democracy in Egypt either.
I find it very disappointing that the Obama administration has supported the Egyptian military with billions of dollars in aid. Less than two months ago, Secretary of State John Kerry "quietly" approved $1.3 billion of military aid to Egypt.
All such aid is “carefully considered,” State Department spokeswoman Jen Psaki told reporters, but it was felt the funding was necessary to help “preserve important regional interests.”[...]
Psaki defended Kerry’s approval of aid for the fiscal year 2013 saying it was in US national security interests and helped such things as “maintaining access to the Suez Canal and the interdiction of weapons smuggling.”
The miliary aid was given "despite rights concerns". Under U.S. law, for the $1.3 billion to flow the secretary of state must certify that the Egyptian government "is supporting the transition to civilian government, including holding free and fair elections, implementing policies to protect freedom of expression, association and religion, and due process of law."