To optimize the intersection for car traffic. Or maybe rather to minimize signal wait times.
If pedestrians could take the shortest path, it would roughly double the size of the intersection in both width and height. Which then requires clearing times on each signal pass to be longer. Which ultimately makes everybody wait longer at the intersection, including pedestrians.
So, that is one possible explanation. I guess you didn’t really ask for one, and maybe I should also add that it’s just that; an explanation, not a justification.
Hey, I know a pretty similar bus stop in Hamburg, Germany: https://maps.app.goo.gl/SMa5unXew4uAfVtPA
Can confirm, it sucks to wait there. Hard to reach (always tempting to risk your life for catching the bus), noisy, stinky, plus ours has bicyclists zooming through the isle.