I’m not entirely sure how it works, but there’s this thing that I (personally) refer to as “latent infamy”. For example, if I hit a wall to break it I don’t technically have infamy but if I then walk past a tower within a few seconds/steps/notrealysure that tower will start shooting at me and give me infamy. This lead to my death once, too, I was breaking down an old base and someone hit me, not really meaning to kill me, and I ran right towards a tower bank which wiped out the rest of my hitpoints
so, my best guess is that you hit a wall before you teleported and while you didn’t have visible infamy the game still counted it and once you neared the towers they hit you. I have no idea if this is intentional or a bug, I figure its probably intentional (people hitting walls *should* get shot at by nearby towers, even if those towers weren’t originally in range) but not acting in a way that one would expect.