My partner has this....it started with him being very exhausted and shaky and he used to have a swollen/bloat under his right hand rib....I convinced his to get blood taken and it turned out to be non-alcohol , fatty liver disease. His family has a history of high cholesterol, heart disase, respiratory probs and auto immunity. You should ask your doc to test your cholestrol and also you heart. If you are like my partner (I'm not saying this is always true) then your diet isn't workig for you and may have placed strain on the liver, he also drank heavily but has found reverse of his pain he was getting through light expercise and good/fresh food plus LOTS of liquids inc regulation of suger as it turns out he also has type 2 diabetes and kidney probs.
Please insist on a ultrasound to see what is going on, and blood work. Try not to get too stressed as this can make your situation worse, good news is my partner is getting better albeit it is a slow process, he is now got a dietician, a gym membership, a better diet and he it tee total, his moods have got so much better and the swelling has all but gone....he has a check up i a month so hope you will also get through this, sorry your suffering with it, check also that it isn;t anything viral related (hep) or autoimmune, ask to speak to a specialist. Gd luck.