it's definitely motivated by that
there's probably rules for doing this stuff for ODEs and just just made it work in this setting
so you can compute the $u_j$'s from this, at least in principle.
it gives a recursion relation and you start with $u_0= 0$ on the diagonal
this turns out to be enough to determine all the others, but actually computing them is very hard
it involves the metric determinant in polar coordinates in a neighborhood of the diagonal, kind of nasty
now what is particularly interesting are the numbers $$a_j=\int u_j(x,x)\,dx$$
because these give the coefficients in the $t$-expansion of $$\mathrm{tr}\,e^{t\Delta}=\int H(x,x,t)\,dx$$
it turns out that $u_1(x,x)=R(x)/6$, where $R$ is the scalar curvature
so by the Gauss--Bonnet formula, $$a_1=\frac 46\pi\chi$$ when $n=2$