For more "complicated" parts (e.g. lots of signals, high frequency, high power, etc.), integrating the part into a board design isn't necessarily straightforward. Rather than putting a ton of detail in the datasheet, the vendor will sometimes have an entirely separate document with design guidelines for the part.
some stuff may be somewhat glossed over, like usage of ground planes or which traces you're supposed to keep short, but when those are important they'll usually be mentioned, or even spelled out in a application note
https://www.youtube.com/watch?v=EEb_0dja8tE&t=746s
Hans Rosenburg explains some tricky concepts very clearly. The upshot is
a) 4 layer boards are much easier to get right
b) you really need an unbroken ground plane for return currents. This is often incompatible with having just two layers.
c) putting the ground plane much closer to the protected signals is a really good thing. Again, that means 4 layer boards.