There’s not much to explain. He died in the battle. The specifics don’t really matter. The purpose of showing his death in the book was to bring some closure to Percy’s story. Since Percy’s entire arc was cut from the movies, that scene would have been kind of pointless.