The reality is that they’re the militant faction of the de facto government of a quasi-state under Israeli occupation. It is complicated so the BBC just says who thinks they’re a terrorist group. That seems reasonable for journalists striving to be neutral.