Welcome to JA.
These vehicles have a problem with blowing up the battery it is very common. The reason they blow up is because the vent tube for the battery gets pinched and the gases cant leave the battery and it blows up. Lan rover has a bulletin about this. Conisder your self lucky if it didnt damage anything else such as the fuse box and the transfer case control module which is on the firewall behinid the battery. The acid from the battery will get on it and corrode and eat up the wiring.