Why do some religious Jews eat pork and shrimp?

No. That would mean- not eating at restaurants which are not certified glatt kosher, never eating any food (regardless of ingredients) prepared in a kitchen which was not glatt kosher

Whether a Jew eats at a nonkosher reaturant is up to them. Many Jews who keep kosher do.