Highly unlikely this is a controller issue. Most likely you have fried some cells or a connection in the battery itself.
Describe previous voltage readings, was it 25.5 before you screwed up? What is voltage when it stops working. Use an external voltmeter, do not rely on the kit's gauge if at all possible.
You did not get a spark "somehow". You allowed the hot wire connector end to contact a conductive surface. You should have wrapped it, plugged it, taped it, or is some way BEEN MORE CAREFUL to not damage the single most expensive component on the bike.
You are very likely looking at extensive repairs, significant rebuild of your battery involving lots of labor and some new cells, or a brand-new battery.
Because you were careless. This is how lessons are learned.