[Question] Choosing a book on causality

I’m looking to get a better understanding on causality, in particular with relation to AI. Judea Pearl has written at least 3 books on the subject.

I have already read The book of why—this one wasn’t technical enough. Should I read Causality: Models, Reasoning and Inference or Causal Inference in Statistics—A Primer. If somebody is familiar with both of these books, how do they compare?