A pressure tank that has lost its air charge is a waterlogged tank, and a waterlogged tank causes the pump to short cycle. Short cycling means the pump motor turns on and off dozens of times per hour instead of a few, generating heat and mechanical wear that shortens the motor's useful life. Many pump replacements that happen within a few years of a previous repair trace back to untreated tank problems.
The air charge in a pressure tank needs to be set correctly relative to the pressure switch cut-in setting. If the pre-charge is too low or has bled out over time, the tank will waterlog quickly even after being recharged. Verifying the pressure switch settings and the tank's rated capacity alongside the pre-charge is what keeps the repair from being a temporary fix.
Pressure switch problems can also create symptoms that look like tank failure. A worn switch with sticking contacts, a clogged sensing port, or incorrect cut-in and cut-out settings can cause the same erratic pressure behavior as a failing tank. A thorough diagnosis checks both before replacing either component.