Back in 2005, when Mubarak was running for office for the first time in contested elections after 25 years in power, he made lofty campaign pledges that he would enact democratic reforms and repeal the decades-old emergency law. Not only has Mubarak overseen the extension of that law, which serves to severely curtail political expression in Egypt, he has overseen a period in which Egypt has started to move in reverse on the path to democracy.
The US doesn't care about the human rights policy of countries it supports it just wants those countries to do as they're told. There is no love on the part of this government for democracy abroad: it's all about the flow of money and resources.
And when some kind of violent social change happens and our "dictators du jour" can't keep a lid on things (as happened in Romania with Chauchescu, Iran with the Shah, Cuba with Batista, etc.), the US state department can't seem to understand precisely why it happened.
These events happen because when peaceful revolution is impossible, violent revolution is inevitable, at some point.