It’s because when an electric field operates on a Faraday cage (box made of copper), the charges with a cage rearrange themselves to directly counterbalance the field, and hence, the shield (protects) the internal of the cage from the external electric field.