While I agree with you, this is a huge issue with the term "security" and what it means to "provide security" as a government, because at some point almost everything can be labeled as a "national security threat" if it happens to be against the political desiderata of any one controlling said governments at a certain moment in time.
I feel like this sort of "security reflex" only got worst after 9/11, it was already there before even before that point but starting with Bush jr. it cascading into lots and lots of non-military related areas.