Crappy and cheap construction, and there's nothing you can do about it. It's luck of the draw in this age. I've been through (literally) hundreds of batteries over the last 10 years, mostly in electric carts, but many in fleet vehicles. Some will last 10 years, others 6 months.
I use a Napa brand battery tester. The type that uses an element similar to an electric stove, to place a load on the battery. It says to hold for 7 seconds, but you don't need to do that. You'll know within 1-2 seconds. If the voltage starts dropping steadily, it's junk. If it drops a volt and holds, it's good. 1 1/2 volts or more, it's weak and may give up on you at the first sign of stress.