weird, makes sense in a way.It’s not random. I think it’s an intentional design decision.
I tested it out - essentially when the number of menu bar items reaches a threshold, it increases the spacing so that they distribute evenly across the bar from edge of notch to edge of screen.
If there are too few (so that the spacing between each would be too wide) it keeps them neatly aligned to the edge of screen.
Not sure what the exact thresholds are but it’s very consistent and definitely not random.