At 5 years it may be end of life.
The average life for Flooded wet is 7-10 years
The Brag is AGM's last longer and I will admit sometimes they do (saw one hit 12)
But for the most part they do not. No sealed lead acid does.
5 years sounds like it might just be "end of life"
On the other hand.. I gather you let it sit for quite some time.. Between self discharge and parasitic draw (Things that never turn off) the batteries were likely run down past the point of "not likely to return" ... Starting batteries need to be kept fairly full 80-90 percent or more.. MARINE/deep cycle also sold as MARINE/rv, are starting batteries with lip service to "deep cycle" they can go a bit lower, say 75%.. True DEEP CYCLE well the common wisdom is 50% and they stand a much better chance of recovery from an OH C@@@ level discharge (like down to 20%) Note I said Chance. No guarantee.. Kind of like sticking a dollar in the one arm bandit in Vegas.
so it may be they just aged out or it may be they were run down too far.