Keep in mind, the US Government is the
primary underwriter of Flood Insurance in the US. [1] In many cases, even if you are buying your Flood Insurance policy from a private company, they are buying National Flood Insurance on your behalf. If your insurance company's pool directly covered the all the extremely variable risk (part of the discussion here), it would be a lot more expensive, so the US government takes on a lot of that risk.
The US government is in the best position to take on a lot of that risk in part because in most states the flood plains are also actively managed by the government. A lot of flood plains have levees and dams and reservoirs that are at least monitored by the US Army Corps of Engineers, if not built and/or maintained by them as well. In the case of a flood event too, it's the US Government that is supposed to act as the primary active management agency (FEMA and in turn it's delegations to the National Guard), presumably mitigating risks during the course of an event (assuming proper management) or taking direct responsibility for mistakes in crisis.
[1] https://www.fema.gov/national-flood-insurance-program
(Disclosure: Working as a consultant for the USACE on a semi-related project. I do not speak for my government or my employer; any mistakes or opinions are my own.)