If you are in a war zone near people with weapons you have no right to complain if you get shot at.
You can Monday morning quarterback the scenario all day long. The fact is the pilots saw firearms and RPG's with a group of people and knew US soldiers would be the target. It's tragic but what armed conflict isn't.