The “Gravity direction” inside “Flowgroup” is used for the buoyancy effect.

The FlowGroup doesn't know the direction of the force you used for gravity.

The bouyancy force always acts in the opposite direction of the gravity.

If you need a custom gravity direction use the “UserGravityDirection” input, which overwrites the UI parameter.