If they were vegging indoors and fine then I would guess the air inside is cooler, dry & less direct sunglight.
Outdoors it might be hotter, more humid & more intense direct light.
Direct light = more heat
Heat + Humidity = Perfect growing environment for mold, mildew & fungus