The answer is that it's an operational experience when it's a salaried employee and a capital expense when it's a contractor. Like not in a theoretical sense, this is how it's classified right now.
Consider a contractor in a software maintainer role; accounting for this as capex makes zero sense.