Help with putting liquid in glass in blender
In your file the liquid object and the glass object both have the same material. If you give the glass object a separate material without any absorption, it works as expected.


With the glass selected, make a copy of the beer material by clicking the 2 icon:


Remove the absorption node (&#8998; Delete):