The property of lipids causes this to occur is known as Non polarity.
Non polar molecules are those which don't dissolve easily in water and are also referred to as being hydrophobic. On the other hand, polar molecules are those which can easily dissolve in water.
Lipids are non polar and so do not mix with polar water molecules which is the reason one of the test tubes showed a layer of oil sitting on top of the water.
Read more about Non polarity here https://brainly.com/question/545359