The orbiters were not allowed to fly through precipitation on landing for the following reasons:
The orbiter is not to encounter precipitation on any approach due to
decreased visibility, damage to the TPS, and the potential for
triggered lightning. Undesirable aspects of thunderstorms include rain
(TPS, structure), hail (TPS, structure, control), ...