Iron Golems can't detect other Iron Golems in their way, so they collide with each other. Their movements are slow, so they keep colliding for more time than normal mobs.
This is annoying. OK, they are golems, don't have brains... But they have eyes! They need to see things in their way and detour.
Can you reprodcue it on a server/world without any server lag?