Pericardial effusion can happen if the pericardium is diseased or injured. This causes inflammation and a buildup of fluid.