From the information given i could not conclude anything but i suspect some mental health problem.problem with liver
will not cause such problems.further information about whether others also can notice your body swelling,your marital relationship,any stress
in the recent past are also needed.
Better to consult a psychiatrist
as early as possible.