0ohm resistor, why?

Sometimes they are used for current-measuring during development - a small
value resistor is used in test boards so the current can be measured. Production
boards substitute a 0 ohm part.

Another reason might be to route a trace on a crowded two-layer board.