This is the 11557th most frequent Catalan word.
xocar
"Xocar" means "to crash" or "to collide" in English.
Here, 'xocar' is used transitively to mean 'to collide', referring to the interaction of the two cars.
Els dos cotxes van xocar a la intersecció.
The two cars collided at the intersection.
In this sentence, 'xocar' is used intransitively to indicate a single object hitting an obstacle.
La pilota va xocar contra la paret.
The ball hit against the wall.
This illustrates the figurative use of 'xocar', meaning to encounter someone unexpectedly.