The U.S. president has accused the state of sending too much water to the Pacific Ocean instead of south toward Los Angeles.