What can make the liver swell up?

Multiple things. The liver can enlarge as a result of viral hepatitis, mononucleosis, fatty liver (can occur from obesity or alcohol), congestive heart failure, many others.
Many conditions. Hepatitis, chronic alcohol use, and a whole universe of medicinal (drug) side effects are just a few examples.