When bits of camphor are dropped on water, they lower the surface tension on where they are dipping. Since the shape of camphor bits is irregular, unequal forces of surface tension act on them. That is why, they move helter-skelter on the surface of water.