Investigating the Dominant Environmental Quenching Process in UVCANDELS/COSMOS Groups