The top video shows a foam density factor of 1, which means that generated foam is not subject to any buoyancy. On the contrary, the bottom video shows a foam density factor of 0.5, which means that generated foam is half the density of the liquid which generates it so it rises to the surface.
-----------
| VIDEO LOG |
-----------
Average particle number : 23744
Average density variation : 7%
Physics - domain size : 1.00mx0.50m
Physics - space resolution : 0.0020m
Physics - time resolution : 0.0003s
Physics - interaction radius : 0.0060m (300% of space resolution)
Physics - gravity : -9.81m.s-2
Fluid 1 - granula : no
Fluid 1 - mixable : yes
Fluid 1 - density : 1.00
Fluid 1 - incompressibility : 5000.00
Fluid 1 - cohesion : 0.10
Fluid 1 - friction : 0.10
Fluid 2 - granular : no
Fluid 2 - mixable : yes
Fluid 2 - density : 0.80
Fluid 2 - incompressibility : 5000.00
Fluid 2 - cohesion : 0.10
Fluid 2 - friction : 0.10
Source - life time : 5.0s
Source - velocity : 1.0m.s-1
Source - factor : 1.0m.s-1
Flow - velocity : 1.0m.s-1
Foam - generation rate : 50.0s
Foam - disolution rate : 1.0m.s-1
Foam - density factor : 1.0m.s-1
Performance : 0.04spf - 25.16fps
Speed rate : 0.25x
Simulation time : 5s
Processing time : 9m 56s
Video time : 20s