I researched it because other than simply knowing this fact, I had no idea
why/how.
Apparently it is not fully understood, but it could have something to do with a specific calcium receptor on G cells. Supposedly knocking out this CaR did not produce gastrin secretion despite phenylalanine at levels one might see following a meal.
If you want to read it for yourself, here's the
link