Governments want control over Youtube, Facebook etc. in order to prevent these kinds of uprisings.
People weren't rioting over access to Youtube and Facebook, but access to them did fuel the riots and help coordinate them (hence they were shut down).