Why is it appropriate to criminally prosecute hackers for simply breaking into government computers?

Why is it appropriate to criminally prosecute hackers for simply breaking into government computers? Should those individuals who break into private corporations or educational facilities be prosecuted if no other criminal activity occurs? Be sure to provide examples in your answer.