The correct answer is: to show the attacking militia that they were friends of the whites.
At the Sand Creek Massacre in 1864, some Native Americans displayed the American flag to signal that they were friendly and seeking peace, although the militia attacked them regardless.