With right-sided back pressure after pulmonary embolism, and therefore an incompletely emptied right ventricle, a right-sided gallop can occur.
When there's right-sided back pressure following a pulmonary embolism, the right ventricle doesn't empty completely, resulting in a right-sided gallop.