I didn’t exactly hear glowing reviews for Jurassic World either. Universal was crying all the way to the bank. 😉
Rotten Tomatoes has an almost 50% difference in rating between those two films, so I don’t think there’s really much comparison.
JW was crowd pleasing, which helped it make money (Book of Henry wasn’t pleasing in any way, which helped it make almost no money). That plus I bet Frank Marshall gave Trevorrow glowing reviews (sounds like he’s a pretty nice guy) was probably what got him the job in the first place.