The federal lawsuit alleges that the U.S. government's takeover and financial bailout of AIG was in violation of the EstablishmentClause of the First Amendment.
That exception is triggered in a claim of a violation of the EstablishmentClause and when there is a specific legislative grant for spending that implicates the First Amendment.