I think this is way easier explained with an example.
Say you had an armor stand at Spot A, and you made a command block line that teleported the armor stand to Spot B, then detected if the block underneath it was stone. If you put stone under Spot B, it would come out as true.
Now say you still had the armor stand at Spot A, but you had a command line that teleported the armor stand to Spot B, then detected if an pig was within 10 blocks. If you put a pig 10 blocks within Spot B, it would come out as false. If you put a pig within 10 blocks of Spot A, it would come out as true.
If the command blocks teleported the armor stand in one tick, then detected for a pig in the next tick, it would work. It only breaks when the teleportation and the detection are right after another in the same tick.
The same effect happens when trying to summon something at the armor stand (it would summon at the spot were it was before teleportation).
Comments 2
Thank you for your report!
However, this report is Invalid.
Your game, launcher and/or server is modified.
If you can reproduce the issue in a vanilla environment, please create a new ticket - this is a bug tracker for the game, and not a support website.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang Studios or the Bugtracker.
Any plugin or resource pack issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run extensively modified server software.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
I'm not able to reproduce this in 1.16.3. Please check if this is an issue for you in a vanilla environment, and if so, provide the exact commands used.