Guns can absolutely be safe, and if they’re bringing it to the beach, it’s probably safe to assume it’s legal.
However, why the fuck anyone needs a gun at a beach is beyond me (or a grocery store, or library, or any number of other ridiculous places to bring a gun). America really needs to get their priorities straight, because it’s not really funny anymore, it’s scary.