With respect to recovery of monied, The Federal and State Governments have a variety of ways the THEY have allowed themselves to be sued. In some case the Feds have imposed these on the States; and, in some cases the States have allowed themselves to be suied.
It is complicated.