AnFI,
Diesel road fuel has anti-foam additive. This makes it easier to get a full tank without a load of froth on top, and probably helps to avoid the problem you describe if the tank is run very low.
Suggest either foam or entrained air from a partially submerged intake would have same result on an engine, IC or turbine.