In HF you want to give beta blockers because they're both anti-ischemic (decrease HR and contractility) and anti-arrhythmic (actions on the AV node).
Decompensated HF is when the patient has become fluid overloaded because the heart cant pump out all the blood is receives due to any cause (infection, arrhythmia, ischemia etc). In such a situation you want to withhold beta blockers, because these drugs function to decrease heart rate and contractility ie they decrease forward flow. This means more accumulation of fluid behind the heart (pulmonary, peripheral edema) which is obviously something you don't want. So you want to stabilize the patient first by fixing his fluid overload, then resume the beta blockers.