Officials said they were not sure of the motive for the attack , which took place at the wedding of the daughter of a village official .