The soap in bubble bath solution has the potential to irritate the urethra, which is the tube through which urine exits the bladder. This can make urination unpleasant, leading to young toddlers trying to hold it in. A urinary tract infection can occur as a result of this.