They're military and political personnel. Terrorist designation is a made up political thing as Trump has made obvious. Hezbollah has done nothing that Israel hasn't also done.
Military personal wear uniforms, are clearly identifiable in their operations & movements and have standards of behavior in line with jus ad bellum & jus in bello.