Officials investigating one of California’s largest recent oil spills are looking into whether a ship’s anchor may have struck an oil pipeline on the ocean floor, causing heavy crude to leak into coastal waters and foul beaches, authorities said Monday.