In the military, when on the flightline or flight deck of a ship, people don't wear headwear/covers that aren't strapped down because they will just get blown off and go who-knows-where or get sucked into jet engines. Similar rules apply near other jet blast effects that could fling loose objects at hazardous velocities.