My theory originally was that it's like an MRI room. The metal interacts poorly with the portal and it is incapable of passing through safely. However, this theory was shot down by the fact that you can still take metal items, even nails through the portal. So the real reason is that the developers wanted an extra challenge and immersive quality in the game.