It was not clear what had caused the stampede, which are relatively common in India. Police detained the event’s organizers and the on-duty police officers.