As I recall, she rejected a bill because she thought it was flawed and would be overturned. She later supported one that called for students to play with teams of the sex they were assigned at birth.
She surprised everyone with the veto, then flipped back later after public outrage. Hard to know for sure what was behind it all, but it was the main knock against her running for President herself, until the book came out.