Cats hide when they are traumatized or scared of a new environment. They will mostly find the darkest unreachable areas in the house to hide. This can be under the bed, inside a closet, in a pile of clothes, or behind furniture.