Governors ordered the flags be lowered in response to recent tragedies that shook the United States and wider world.