"Federal law makes it very difficult to file lawsuits against federal officers, but some states have adopted their own laws to give people a so-called cause of action to sue."