Because it's not about the lifetime of the person creating the software, it's about the lifetime of the software created during employment. The created asset can be used indefinitely after the employee has left. The salary is now considered the capital investment to create the asset.
At least that's now how the IRS sees it. Similar to buying machines to create a physical product.
Maybe they read all these articles about developers working in a feature factory.