The House speaker said her message was not because of politics but due to security risks caused by the government shutdown.