Everyone in executive branch, as the saying goes, serves at the pleasure of the President of United States.
That's what constitution says.
President ordered reduction of number of government employees, as is his right and authority.
Hence NSF and other government departments are following the President orders and firing people, starting with those easiest to fire i.e. probatory workers. I'm sure that's just the beginning and they will follow with firing people for not showing up to work, having second jobs, lack of performance etc.
Congress is the other branch of government and has no power or authority here.
Contacting representatives and senators would be a waste of time.