battery life is based on the # of cycles at certain depth of discharge. A good battery should last several hundred cycles to full discharge (10.5V). The power source does not have any effect on battery life, so gensets, solar, whatever have no bearing on battery life (all else being equal). Power is power.
It is likely you are charging off the genset and over cycling the battery, so it is reaching it's end of usable life quickly. It only takes a yerar or so if the battery is used daily. To fix this, add more battery use a low voltage disconnect to break the load off below 11.8V.