[14] The yatra is both a way of earning revenue by the state government by imposing tax on pilgrims,[15] and a way of making a living for the local Shia Muslim Bakarwal-Gujjars by taking a portion of the revenue and by offering services to the Hindu pilgrims, and this source of income has been threatened by the Islamist Kashmiri Sunni militant groups who have banned and attacked the yatra numerous times,[16][17][18] as well as by recent massacres of at least 59 people prior to July 2017 on this yatra, causing deaths of mostly Hindu pilgrims, in addition to at least 10 Muslim civilians, and several more Muslims among security forces.
[19][20][21][22][23] Prior to this incident, terrorists have attacked the Amaranath yatra at least 3 times, in 2000, 2001 and 2002, killing at least 54 Hindu pilgrims and injuring at least another 105 people, all unarmed, and at least 10 Muslim civilian support service providers, and at least 6 security personnel.
[19][20][23][24][25] On 2 August 2000, Hizbul Mujahideen (designated a terrorist organisation by India,[26] European Union[27] and United States,[28]) massacred at least 32 Hindu pilgrims and injured at least 60 people in a two-hour long indiscriminate shoot out at Nunwan base camp in Anantnag district, causing the death of 21 unarmed Hindu pilgrims and 7 unarmed Muslim shopkeepers, and 3 security force officers.
[24] On 20 July 2001, a terrorist threw two grenades and fired indiscriminately on a pilgrim night camp at Sheshnag Lake en route Amarnath shrine, killing at least 13 and injured another 15 people.
[19][20][25] On 6 August 2002, terrorists from al-Mansuriyan, a front group of the Lashkar-e-Taiba, massacred 9 pilgrims and injured 30 near Nunwan pilgrimage base camp.
[20][23] On 7 July 2017, terrorists attacked a civilian bus that was on the Baltal-Jammu route where movement of vehicles is not allowed after 7 p.m. due to the militants' threats.
[22] After arrests of three locals, described as "co-conspirators" in August 2017 who had provided logistical support to the attackers, Munir Khan, IGP (Kashmir), stated that four Lashkar-e-Taiba militants were involved in it.
[41] The bodies of the seven Amarnath pilgrims killed in the terror attack in Jammu and Kashmir were brought to Gujarat's Surat airport along with the injured and their family members in an Indian Air Force plane.
[36] Bus driver Saleem Mirza who was hailed as a hero due to his act of bravery spoke to Indian media and said "God gave me strength to save lives of people".
The Government of Gujarat's Chief Minister Vijay Rupani thanked Mirza as he saved lives despite heavy firing.
Also, Mobile and Internet services were suspended in Jammu region in view of the attack as a measure to prevent any kind of rumour mongering.
[34][40][46] The local political party (Jammu and Kashmir Pradesh Congress Committee)'s president, G A Mir, condemned the attack and described it as shocking and highly shameful.