The National Weather Service accurately predicted the flooding in Texas, but the Trump administration did cut hundreds of NWS jobs, which may have impacted overall capacity and response.
National Weather Service is to blame for the flooding in Texas, not the Trump administration defunding the National Weather Service.

FactVerify
Source: factverify.com
What the Evidence Shows
The claim that the National Weather Service (NWS) is to blame for the flooding in Texas rather than the Trump administration's defunding is misleading because it oversimplifies a complex situation. According to experts cited by Wired, the NWS did its job by accurately forecasting the flooding event in Texas, indicating that the agency provided timely and reliable warnings about the severe weather.
However, it is also documented that during the Trump administration, more than 500 positions at the NWS were eliminated, as reported by NPR. This reduction in staffing could have affected the agency's overall operational capacity and ability to respond to emergencies comprehensively.
Meanwhile, some Texas state and local officials criticized federal forecasts during the flooding, but this does not equate to blaming the NWS entirely for the flooding itself. Flooding is primarily caused by meteorological and environmental factors rather than forecasting errors alone.
Therefore, while the NWS fulfilled its forecasting role, the impact of budget cuts on its broader capabilities cannot be dismissed. The claim incorrectly places sole blame on either party without acknowledging these nuances.