When an area of the liver fills up with puss, it is known as a pyogenic liver abscess. Sometimes, bacterial infections can cause this. A pyogenic liver abscess can also be caused by injury to the liver.