Metronomes started randomly synchronize after a short period of time as they influence each other through the side-to-side motion of their shared base.

Source: UCLA Physics & Astronomy
https://demoweb.physics.ucla.edu/content/160-spontaneous-synchronization

160. Spontaneous Synchronization | UCLA Physics & Astronomy

@wonderofscience
There was a Mythbusters episode playing with how this works.
https://m.youtube.com/watch?v=e-c6S6SdkPo
N-Sync | MythBusters

YouTube