Boric acid is a very weak acid with a $\mathrm{p}K_\mathrm{a}$ value of 9.2 and does not dissociate in aqueous solution as a Brønsted acid. Yet, in aqueous solutions, it acts as a Lewis acid by accepting a hydroxyl ion to form the tetrahydroxyborate ion $(\ce{B(OH)4-})$, as confirmed by Raman spectroscopy (Ref.1):
$$\ce{B(OH)3 + 2H2O <=> B(OH)4- + H3O+} \tag1$$
Thus, the dominant forms of inorganic boron in natural aqueous systems are mononuclear species such as boric acid $(\ce{B(OH)3})$ and borate ion $(\ce{B(OH)4-})$. The distribution of these two components depends on the first dissociation constant $K_\mathrm{a}$ of boric acid, which is equal to $\pu{5.80 \times 10^{−10} mol L-1}$ in fresh water at a temperature of $\pu{25 ^\circ C}$ (Ref.2).
Note that in solutions that are more concentrated than $\pu{0.1 M}$, boric acid acts as a much stronger acid than in diluted solutions, and becomes comparable to acetic acid. As shown in the equation $(1)$, the apparent ratio of the concentration of borate ions to that of boric acid molecules in the solution progressively increases from $1:1000$ at $\pu{0.2 M}$ to $1:5$ at $\pu{3.5 M}$ (Ref.1).
In an aqueous environment, boric acid and borates react with alcohols and multiple hydroxyl-containing compounds (polyols) forming boron esters. For example:
$$\ce{B(OH)3 + 3 R-OH <=> B(OR)3 + 3 H2O} \tag2$$

As shown in the above figure, complexation with polyols increases the acidity of boric acid due to the formation of cyclic borate esters. For example, the dissociation constant of boric acid becomes about $7 \times 10^{−6}$ in the presence of mannitol, i.e. a $10$- to $1000$-fold increase compared to that without the polyol (Ref.1). Such behavior is not shown on the addition of monofunctional alcohols, nor of glycols, nor of the trans-form of cyclopentane diols, but it is shown upon the addition of the cis-form of the latter compounds. AS described in the Ref.1:
The phenomenon depends on the formation of monocyclic or dicyclic compounds with the polyol groups, which are more highly dissociated than the boric acid itself, and it follows that the only compounds with two hydroxyl groups suitably placed on the same side of the C–C link can react in this way. Thus, the stability of the borate complex formed is strongly dependent on the type of diol used. If the diol involves the OH groups oriented in such a way that they accurately match the structural parameters required by a tetrahedrally coordinated boron, a strong complex is formed. For instance, erythritan (3,4-cis-dihydroxytetrahydrofuran) has produced a much lower $\mathrm{p}K_\mathrm{a} \ (\approx 4.8)$ with boric acid (more acidity, stronger complex; Ref.3).

The equilibrium constants of borate complexes have been investigated in several studies, and some of the data are listed in the following Table (Ref.3):
$$\begin{array}{l|c|r}
\hline
\text{Polyol} & K_1 & K_2\\
\hline
\text{1,2-Ethanediol} & 2.15 & 1.15\\
\text{1,3-Propanediol} & 1.27 & 0.11\\
\text{Glycerol} & 16.0 & 41.2\\
\text{Catechol} & 7.8 \times 10^3 & 1.42 \times 10^4\\
\text{D-Mannitol} & 1.1 \times 10^2 & 1.37 \times 10^5\\
\text{D-Glucose} & 1.50 \times 10^3 & 7.60 \times 10^2\\
\hline
\end{array}
$$
It has been shown that the amount of acidification produced upon the addition of polyol is proportional to the extent of ester formation (Ref.3). Basically, 1,2-Ethanediol is ethylene glycol and it also has a $K_1$ and $K_2$ values as well although they are not pronounce as those of D-Mannitol or even Catechol. Therefore, the increase in acidity may not significant, but it sure does the trick. The lower values of $K_1$ and $K_2$ are probably due to restrictions in structural parameters required by a tetrahedrally coordinated boron.
References:
- Victor Kochkodan, Nawaf Bin Darwish, and Nidal Hilal, "Chapter 2: The Chemistry of Boron in Water," In Boron Separation Processes; Nalan Kabay, Marek Bryjak, and Nidal Hilal, Editors; Elsevier B.V.: Amsterdam, The Netherlands, 2015, Pages 35-63 (DOI: https://doi.org/10.1016/B978-0-444-63454-2.00002-2)(ISBN of the Book: 978-0-444-63454-2).
- Benton Brooks Owen, "The Dissociation Constant of Boric Acid from 10 to 50°," J. Am. Chem. Soc. 1934, 56(8), 1695–1697 (DOI: https://doi.org/10.1021/ja01323a014).
- Philip P. Power and William G. Woods, "The chemistry of boron and its speciation in plants," Plant and Soil 1997, 193, 1–13 (DOI: https://doi.org/10.1023/A:1004231922434).