The location is practical.
The end of the handle is generally away from the movable jaw and adjustment mechanism. This makes it convenient for hanging the tool while keeping its working parts accessible.
It also avoids adding complicated mechanisms or unnecessary components to a relatively simple hand tool.
Different manufacturers may use slightly different designs, but the hanging hole is a familiar feature on many adjustable wrenches.