Spawning too many mobs inside a block quickly causes mobs to be shot out diagonally (not randomly)
I used the command /summon minecraft:evoker ~20 ~-1 ~20 in a repeating command block in a superflat world and they started flying out because there were too many packed together but they only went northeast, southeast, northwest, or southwest.