California State Attorney General Jerry Brown sued the federal government Wednesday, claiming that publicly regulated mortgage companies are breaking California laws by interfering with city programs that allow homeowners to finance energy retrofits through property taxes.