For your protection and also that of the security person.
Because it's their job, I suppose
Um I guess to hold you until the cops get there
They have to be allowed to do so, if the think you are doing something illegal, and they wish to detain you. . If they don't, the way things are today, they could end up dead or worse, if they do not take all precautions.