Switch Disconnector for UPS causing RCCB Trip

Hi, First time on the forum.

I am working on a UPS that is connected via a 4P disconnector switch (Socomec Sirco M AC-21A)

Upstream in series to the Disconnector Switch is a 4P 40AT MCCB and a RCCB-AC.

When I switch off the disconnector switch the RCCB tripped.

When I switch off using 4P MCCB, the RCCB is not tripped.

The UPS is a dual input type but we are looping the single source to Mains and Aux. input

What am I looking at that is causing the RCCB trip and why the MCCB did not cause the same issue?