Vuforia or ArFoundation are framework that will work with ARCore and ARKit.
And it is up to these SDKs to choose a hardware camera.
And these SDKs use front camera to Face Tracking.