The purpose of the UPS is to provide power to the equipment when facility power (your electricity) has been lost. The UPS may have its own circuit protection (most do), but it might not be GFCI. So the GFCI trips but you're still at risk for shock.
As a side note...the
Leak Frog can help tell you when there is a little too much water under the tank
