States have the right to regulate businesses as they see fit.
Has nothing to do with second amendment rights.
Allan