It`s hard to tell if people had gathered where they should not have been,or was it some other reason - if it was at an airshow I thought that mil aircraft were not to carry live weapons.
Most likely thing it was a live fire exercise,and those people and cars should not have been there,however you would expect the heli crew not to open fire if that was the case.
Weird.