The prime minister offered condolences to families of the victims and urged Uttar Pradesh authorities to accelerate rescue and accountability efforts.