I don't think it made sense either, especially because cutting the congestion pricing revenue last-second meant she had to start talking about raising taxes on the entire state instead, but that is the consensus on what she was thinking.
Here's an article about it, she hasn't admitted the election considerations so we can't know for sure: https://www.nytimes.com/2024/06/09/nyregion/hochul-congestio...