How am I supposed to figure out whose book the sentence is about? Is it context?
Yes. Although in EP, if it's another person's book, a more common phrasing would be "Ele explicou o livro dele".