Three weeks following a myocardial infarction, a 54-year-old man presents with fever, productive cough, and chest pain. The pain is worse with inspiration, better when he is sitting up, and not relieved by nitroglycerin. Physical examination finds a friction rub along with increased jugular venous pressure and pulsus paradoxus (excess blood pressure drop with inspiration). Which of the following is the most likely explanation for these findings?