The president's Interior Department had removed the flag, saying they neede to comply with federal guidance on flags.