The way I thought it worked was that congress would set a budget and scientists would decide how to spend it.
Perhaps naively I thought these scientists would want to do science and would be unwilling to steer funds away from whichever projects they liked in order to fund the removal of some sensors.
I guess maybe the scientists who make these decisions are also partisan and happy to do as the administration asks.