connect PGND and AGND of switching power IC

In traditional layout principle ,we should do like this:

But in switching power IC , the AE always suggests us to connect PGND and AGND in one single point under the part, if  we do this ,the circuit is like this:

why  do not we  use the first way in switching power IC?  Any one know the root reasons?  Thanks! 

3 Replies