It's unfortunately no longer enough to force websites to check your government-issued ID before you can access certain content, because politicians have now discovered that people are using Virtual Private Networks (VPNs) to protect their privacy and bypass these invasive laws. Their solution? Entirely ban the use of VPNs.
California isn’t forcing Glock to do anything. Glock wants the central valley and orange county market so they do what they need to do.
(I actually have no idea about the specifics of this, but I’m assuming it falls in the general shape of California trying to restrict access to murder tools and the murder tool vendor responding by finding ways around the law rather than just admitting their hobby and business kills people)