They make decisions about what money is available in the first place, and appoint the leaders of the organization that runs the grant selection process.
No one is campaigning on NSF research. The director is appointed, but most of the staff are career workers who aren't replaced when the President or Senate change.