City officials traced the discoloration to sediment that entered pipes during maintenance, urging residents to avoid drinking unclear water.