Betanidin is the compound that causes beeturia if has been suggested that the pigment is usually degraded by stomach acid.
explaining why the effect is not always evident-only when the stomach acid's pH is not row enough degrade the pigmemts are large enough amounts present in urine. However it has also been suggested that genetic factors could influence wheter people experience beeturia