There is a reason to have them, for SWAT (or whatever regional equivalent). They are useful for non-lethal assault of violent targets. If, for example, some terrorists decide to take some hostages, that’s where they should be used.
They should not be bringing them to a protest though. That’s not the place for them, and the officers should be fired and the department investigated for misconduct.