California and other Democratic-controlled states would need to atone for “bad behavior” if they wanted federal assistance, one lawmaker said.