Because it is a constant battle between gravity trying to collapse the system, and thermonuclear fusion which produces internal pressure. The later cannot continue indefinitely because the fuel reserves are finite. The star has no long term option but to change its properties and evolve.