If you drive GTA 6 at full speed for too long, the game will stop you.
The geniuses at Rockstar came up with a sneaky optimization method: in order for the console to have time to load the map, a player who is too fast will be stopped by oncoming traffic. So, if it seems to you that NPCs are purposely jumping under your wheels, yes, they are.
Similar features existed in almost all parts of the series: for example, in GTA 3 the roads were especially complicated so that the player could not drive, and in some areas the air resistance for cars was increased by 5%.
Sometimes this leads to insanely blurry situations.