www.theatlantic.com/international/archive/2015/10/middle-east-egypt-us-policy/409537/ A good discussion of American influence on events, suggesting American failure to engage properly and therefore to control outcomes resulted in outcomes that are not satisfactory except to the State Department.
In the case of Egypt, the US propped up Mubarak's dictatorship, then got taken by surprise by the 'Arab Spring' despite all its rhetoric about democracy in Iraq and the illegitimacy of rule by vicious and corrupt dictators, then failed to stop the Army from intervening in the democratic process because that process had thrown the Muslim Brotherhood into power, and now is left with a situation where they are on the back of the tiger.
In the process they showed themselves willing to dump their friends (Mubarak) and inability to stop being led by the nose (by the Army), and gave tacit support to a brazen massacre of Morsi supporters. They showed themselves willing to continue to pump money into keeping Egyptian institutions afloat (the armed forces) even when no democratic end is served in doing so. (They propped up Mubarak after all.)
Similarly in Syria, the stirrings of opposition to Assad were encouraged, but unlike Libya (lesson learned perhaps) no physical intervention happened. The opposition factions were left to deal with Assad on their own. The vacuum where American leadership and engagement should have been was quickly filled by ISIS. The US should have picked a side and should have backed it fully. Russia picked a side and backed it to what may have been a decisive point, perhaps understanding that when Assad wins he will owe them big time.
The main issue is that they seek to outsource the performance of revolution. They did this in Ukraine too, using right wingers who only very recently abandoned their openly Nazi logo (Svoboda) and other really unsavoury groups to drive a democratically elected president out of office. There was a time when they only did this sort of thing in Central and South America. Back in the day they used to stick around and make sure their blatant disrespect for other states' sovereignty and the democratically expressed will of the people resulted in stable (even if brutal) regimes. Now with the hands off policy, the US encourages revolution/democracy, blah blah, but leaves the details to the groups least likely to want democracy.
Turkey has slid closer to dictatorship too, but the US will not put pressure on it to maintain progress towards meeting EU association and ultimately membership requirements.
This is called 'Leading from behind'.
Libya is in fact worse than Syria right now, and has been for many years.
Amnesty International reported in 2014 - “Armed groups and militias are running amok, launching indiscriminate attacks on civilian areas and committing widespread abuses, including war crimes, with complete impunity.” No government has been able to establish even a pretence of governing without backing from militias. The turmoil has fueled the migration crisis as there is no law and order there and criminal gangs and militias are all in on the business.