Perhaps to determine where the boundary actually is,
and whether or not the wall is encroaching on somebody's land.
Boundaries aren't always where you think they are,
nor are they always where the built environment (such as a wall) suggests they are.
In the alternative, perhaps your neighbour has made (yet another) complaint.