An Army spokesman in a statement here said a foot patrol unit of the Army was attacked by a mob, creating a life-threatening situation for the personnel.
He said the personnel fired in the air which could not have caused death of the youth or injury to anyone.
The spokesman said there were intelligence inputs with regard to the plans by terrorists to entangle Army personnel, particularly in Baramulla, in a protest and to attack the Army taking shield of the crowd with a view to trigger large-scale violence.
"This needs to be probed in detail by police," the spokesperson said.
"The aggressive mob, despite repeated warnings and caution, surrounded the patrol and people from within the crowd started attacking the Army personnel. The Army patrol was soon outnumbered, some of them were injured," the statement said.
The statement said the death of the youth "could not have been caused due to the firing by the Army personnel as extreme caution was exercised by them and the fire was deliberately aimed in the air".