Dogs hide in the bathroom during thunderstorms. The metals function as electrical grounding devices during a storm. When dogs ground themselves to the earth, they experience static electrical changes and it calms them.