The generals receive most of their weapons and most of their aid from the United States. They have close direct relationships with a lot of high lvel administrative American types. It is just not believable that they di not run the coup idea past the Americans ahead of time and get a green light. It's silly. Dr Seuss silly.
U.S. confirms ISIS computer expert killed in air strike (Reuters)
from the article: U.S. struggles to cope with the crisis in Egypt