This is horrible. A pregnant elephant died because it ate a pineapple which had a firecracker in it. ☹
The locals stick firecrackers into pineapples and leave them near the forests to kill wild animals which might eat their crops.
This elephant either ate one of those pineapples or was given one to eat by the locals.