Does 9 loops, stops in the middle of 10th

You say "loops", but a quick skim suggests it's more like you are doing

macro1
-> launch macro2
   -> launch macro1
      -> launch macro2
         -> launch macro1

...and none of these instances ever complete. So it could be that you are bumping into the "maximum allowed simultaneous macros" limit, which is set to 50 by default.

Check the "Engine log" for errors -- available from the Editor's "Help" menu. You'll probably see lines like:

2024-06-04 18:23:29 More than 50 simultaneous macros - aborting everything

It isn't just "macros" that count towards this limit, nested groups and similar within a macro are also counted -- see this thread for more.

It's not a good idea to increase the limit to avoid the problem for longer! You'll need to rethink your "control flow" and come up with a better way of doing things -- perhaps a "Controller" macro that does loop, calling sub-macros that do their thing then exit and return "control" to the Controller...

But you might -- check carefully! be able to get away with setting your "Execute a macro" actions to be "asynchronous":

...as it looks like they are the final actions in both macros and completion doesn't require any returns from them.