system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why do food regulations require pork and chicken to be fully cooked to kill bacteria in the meat? Whereas beef can be consumed half-cooked. How do we know the same harmful bacteria in pork and chicken isn't also in beef?

ELI5: Why do food regulations require pork and chicken to be fully cooked to kill bacteria in the meat? Whereas beef can be consumed half-cooked. How do we know the same harmful bacteria in pork and chicken isn't also in beef?
gpt
All meats can have e coli on them, but e coli can only live on the surfaces, it can't penetrate into the meat. Cooking on the outside kills e coli. You can also cut away surfaces to get a clean part, hence why people can eat raw beef like steak tartar.

Chicken can have salmonella, which can exists anywhere in the chicken. Similarly, pork can have trichinosis, which can be anywhere in the pork, that's why they have to be cooked all the way through. Neither trichinosis nor salmonella can live in beef.

Ground beef however, must be cooked all the way through because the external parts all get mixed around. That's why you can get a rare steak but not a rare hamburger.