Analysts say the attack is part of a wider pattern of repression amid concerns over the growing role of the military.