Pressure Inside The Medication Bottle

determine the internal pressure of medication bottle at the bottle cap  when inverted and  which is filled with water  and other filled with viscous medication fluid.

answer should be technically written with purpose, calculation, explaining both liquid produce different pressure