Mold is caused due to moisture. Places that are prone to high humidity are also prone to have more chances of bacterial growth. Having good ventilation in areas such as bathrooms can help prevent mold buildup. Water leaks that might not be noticeable can also cause mold. Especially if the leaks are inside a wall.