Cache misses
Related terms: CPU cache, data-oriented design, memory layout
Reading memory is a hidden cost in game code. The CPU keeps recently used memory in a small, very fast cache. Data sitting next to what was just read is almost free. Data somewhere else is a cache miss, roughly a hundred times slower.
Looping over thousands of objects scattered around memory is a chain of misses. Data-oriented design stores the same kind of data together in tight arrays and walks it in order. This is the performance argument for ECS.