GFP detection generally detects current flowing outside an intended pathway. Majority of time it will be to "ground" but does not need to be flowing to ground and would still trigger the detection method. 50 mA flowing from phase A to phase B of a different circuit for example is not a ground fault, but would still trigger a 30 mA GFP unit.
Which is meaningless to an AFCI.