@sgunhouse the fact that it works for you on Logitech trackball doesn't mean it works in general. For me on macOS even with Logitech Options installed it is not working when using MX Vertical. The only workaround I found successful is to move the mouse cursor to the far edge of the screen (to get a window resize cursor) and only then backward and forward buttons are working.
Judging by the comments on the thread, conclusion is that your setup is an edge case and basic functionality is broken for majority.