The sudden stop in federal funding reminded Americans how vital the government is in people’s lives.