...an ally, if you're lucky enough to have one... it's better for you.
...noticed that the ally often sets up small traps - many times, with their heroes, they blocked passages and hindered development...
I don't think this is programmed into the game. Most likely, it's just that the turn ended + there were narrow passages.