Here is an illuminating AP account of what exactly happened to Morsi over the past weeks and days. It contains many fascinating details.
From the depiction of Morsi’s defiance, we may speculate that elements have been intentionally leaked by Egypt’s military in order to suggest a picture of a completely isolated, unreasonable leader.
Most crucial, however, is the information that as early as June 23rd the army had presented Morsi with an ultimatum, and that already at that time it was clear even to Western diplomats that he would be deposed. What this highlights is the surprising fact that it was not the actual protests at all that forced the army to act against Morsi: it was a premeditated move by the armed forces, though presumably motivated by Morsi’s impossible political position and lack of support.