Gillibrand’s abandonment of her mentors, the Clintons, is entirely about establishing a basis for attacking Trump.
She got her cue from this writer:
https://www.vox.com/policy-and-politics/2017/11/15/16634776/clinton-lewinsky-resigned