California Attorney General Kamala D. Harris filed suit against Fannie Mae and Freddie Mac on Tuesday, seeking to force the firms to answer a detailed list of questions after the firms' federal regulator sought to block an open-ended inquiry by the state.

The lawsuits, filed in San Francisco County Superior Court, are the latest salvo by Ms. Harris against the mortgage-finance giants and their regulator, the Federal Housing Finance Agency.

Last...